www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 1490] New: compiler crash with memmove

reply d-bugmail puremagic.com writes:
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.


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






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...


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






This happens with both GDC 0.24 and with GDC 0.25 svn r154


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


dvdfrdmn users.sf.net changed:

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





Fixed in svn rev 155 / release 0.25


-- 
Sep 12 2007