View mode: basic / threaded / horizontal-split · Log in · Help
March 08, 2007
[Issue 1040] New: Internal error: Illegal instruction (program cc1d) - nocompile/a/alias_39_B.d
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@users.sf.net
       ReportedBy: thomas-dloop@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


--
July 21, 2007
[Issue 1040] Internal error: Illegal instruction (program cc1d) - nocompile/a/alias_39_B.d
http://d.puremagic.com/issues/show_bug.cgi?id=1040


dvdfrdmn@users.sf.net changed:

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




------- Comment #1 from dvdfrdmn@users.sf.net  2007-07-21 09:13 -------
Fixed as of svn r130 / release 0.24, probably by merging updated DMD.


--
Top | Discussion index | About this forum | D home