Bug 1044 – Internal error: Illegal instruction (program cc1d) - nocompile/c/const_32_B.d

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2007-03-08T10:34:00Z
Last change time
2015-06-09T05:14:46Z
Keywords
ice-on-invalid-code
Assigned to
ibuclaw
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2007-03-08T10:34:16Z
# # const int a = .b; # const int b = .a; # gdmd-4.0 -arch i386 -c nocompile/c/const_32_B.d i686-apple-darwin8-gdc-4.0.1: Internal error: Illegal instruction (program cc1d) Please submit a full bug report. See <URL:http://developer.apple.com/bugreporter> for instructions. test case: http://dstress.kuehne.cn/nocompile/c/const_32_B.d
Comment #1 by braddr — 2008-01-27T02:47:21Z
Chances are this is a dup of bug 713 with the bug being infinite recursion within the dmd frontend.
Comment #2 by ibuclaw — 2010-08-05T14:43:47Z
I cannot reproduce this using gdc with gcc-4.1.2 and gcc-4.3.5. I get the message: --- const.d:2: Error: recursive reference b Which is correct for the code it is compiling.