Thread overview
[Issue 1044] New: Internal error: Illegal instruction (program cc1d) - nocompile/c/const_32_B.d
Mar 08, 2007
d-bugmail
Jan 27, 2008
d-bugmail
Aug 05, 2010
Iain Buclaw
March 08, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1044

           Summary: Internal error: Illegal instruction (program cc1d) -
                    nocompile/c/const_32_B.d
           Product: DGCC aka GDC
           Version: 0.23
          Platform: PC
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P3
         Component: glue layer
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: thomas-dloop@kuehne.cn


#
# 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


-- 

January 27, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1044





------- Comment #1 from braddr@puremagic.com  2008-01-27 02:47 -------
Chances are this is a dup of bug 713 with the bug being infinite recursion within the dmd frontend.


-- 

August 05, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=1044


Iain Buclaw <ibuclaw@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #2 from Iain Buclaw <ibuclaw@ubuntu.com> 2010-08-05 14:43:47 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------