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@gdcproject.org
Reporter jens-bugzilla@gpio.dk

Created attachment 83 [details]
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: