[Bug 178] New: cc1d locks up when specifying function instead of function pointer in an array

via D.gnu d.gnu at puremagic.com
Mon Apr 6 06:53:53 PDT 2015


http://bugzilla.gdcproject.org/show_bug.cgi?id=178

            Bug ID: 178
           Summary: cc1d locks up when specifying function instead of
                    function pointer in an array
           Product: GDC
           Version: 4.9.x
          Hardware: PPC
                OS: OSX
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw at gdcproject.org
          Reporter: jens-bugzilla at gpio.dk

Created attachment 83
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=83&action=edit
Example file. When compiling this, cc1d locks up.

By accident I forgot to add a '&' in front of Reset_Handler in this array:

Steps to reproduce:
Build the attachd file 'start.d'.

Results: cc1d locks up.

build: f378f9a, branch=gdc-4.9


Code:
VectorFunc [3] g_pfnVectors = [
    &Reset_Handler, /* If removing the '&' here, cc1d locks up. */
    ];

Speculation: This bug might relate to all platforms or perhaps a Big Endian
issue if it's not reproducible on for instance X86.

Note: Unfortunately, the tools that Apple provide for debugging locks up, when
I'm trying to sample the process, in order to find out where it locks up.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20150406/118c35d6/attachment.html>


More information about the D.gnu mailing list