Thread overview
[Issue 1490] New: compiler crash with memmove
Sep 10, 2007
d-bugmail
Sep 10, 2007
d-bugmail
Sep 10, 2007
d-bugmail
Sep 13, 2007
d-bugmail
September 10, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1490

           Summary: compiler crash with memmove
           Product: DGCC aka GDC
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: major
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: afb@algonet.se


When compiling a piece of code that uses "memmove" (probably not relevant, but)
the compiler crashes (Bus Error, ICE) when it comes to the line that makes it.

Compiling without -frelease or without optimizations (-O0) makes it survive. Commenting out or versioning the affected lines also finishes the compilation.


-- 

September 10, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1490





------- Comment #1 from afb@algonet.se  2007-09-10 09:50 -------
Created an attachment (id=177)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=177&action=view)
memmovetest.d

redacted test case, compiling Tango trunk should also show the issue...


-- 

September 10, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1490





------- Comment #2 from afb@algonet.se  2007-09-10 09:51 -------
This happens with both GDC 0.24 and with GDC 0.25 svn r154


-- 

September 13, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1490


dvdfrdmn@users.sf.net changed:

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




------- Comment #3 from dvdfrdmn@users.sf.net  2007-09-12 21:57 -------
Fixed in svn rev 155 / release 0.25


--