[Issue 1040] New: Internal error: Illegal instruction (program cc1d) - nocompile/a/alias_39_B.d

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 8 08:33:41 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1040

           Summary: Internal error: Illegal instruction (program cc1d) -
                    nocompile/a/alias_39_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 at users.sf.net
        ReportedBy: thomas-dloop at kuehne.cn


# template Foo(alias b){
#    int a() {
#       return b;
#    }
# }
#
# void test(){
#    mixin Foo!(y) y;
# }

gdmd-4.0 -arch i386   -c nocompile/a/alias_39_B.d
nocompile/a/alias_39_B.d:21: mixin Foo!(y) cannot resolve forward reference
nocompile/a/alias_39_B.d:21: mixin Foo!(y) cannot resolve forward reference
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/a/alias_39_B.d


-- 



More information about the D.gnu mailing list