www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 users.sf.net
        ReportedBy: thecybershadow 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 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.


-- 
Jul 10 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1329






oops, it obviously doesn't need the std.stdio import to reproduce.


-- 
Jul 10 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1329


dvdfrdmn users.sf.net changed:

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





fixed in svn r124 / release 0.24


-- 
Jul 13 2007