[Issue 1329] New: internal compiler error: in mostly_copy_tree_r, at gimplify.c:678

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 10 13:37:13 PDT 2007


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

           Summary: internal compiler error: in mostly_copy_tree_r, at
                    gimplify.c:678
           Product: DGCC aka GDC
           Version: 0.24
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn at users.sf.net
        ReportedBy: thecybershadow at gmail.com


This might not be the place to report it, as it only happens with Gregor's
patch for D 1.018. 

It's not easy to minimise the testcase, here's what I came up with:

-------
import std.stdio;
import std.string;

void main()
{
        char[][] params;
        // params.length = 9; // doesn't make a difference
        params = [join(params[0..$], " ")] ~ params;
}
-------

vladimir at vladimir-kubuntu:~$ gdc -c TestGdcBug.d -o TestGdcBug.o
TestGdcBug.d: In function ‘main’:
TestGdcBug.d:8: 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.


-- 



More information about the D.gnu mailing list