[Issue 1155] New: GDC crash (internal compiler error: in mostly_copy_tree_r, at gimplify.c:678)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 16 14:49:42 PDT 2007


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

           Summary: GDC crash (internal compiler error: in
                    mostly_copy_tree_r, at gimplify.c:678)
           Product: DGCC aka GDC
           Version: 0.23
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn at users.sf.net
        ReportedBy: fvbommel at wxs.nl


Some simple code that crashes GDC:
====
$ cat test.d
void foo() {
        int[] arr = [0];  // to make sure below access is valid
        arr[$-1] -= 1;
}
$ gdc -c test.d
test.d: In function ‘foo’:
test.d:3: internal compiler error: in mostly_copy_tree_r, at gimplify.c:678
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
=====

Version: v0.23/x86_64 (binary package from sourceforge) on Ubuntu Edgy


-- 



More information about the D.gnu mailing list