Bug 1490 – compiler crash with memmove

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
PowerPC
OS
Mac OS X
Creation time
2007-09-10T09:49:00Z
Last change time
2015-06-09T01:31:16Z
Keywords
ice-on-valid-code
Assigned to
dvdfrdmn
Creator
afb

Attachments

IDFilenameSummaryContent-TypeSize
177memmovetest.dmemmovetest.dtext/plain1303

Comments

Comment #0 by afb — 2007-09-10T09:49:21Z
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.
Comment #1 by afb — 2007-09-10T09:50:26Z
Created attachment 177 memmovetest.d redacted test case, compiling Tango trunk should also show the issue...
Comment #2 by afb — 2007-09-10T09:51:42Z
This happens with both GDC 0.24 and with GDC 0.25 svn r154
Comment #3 by dvdfrdmn — 2007-09-12T21:57:41Z
Fixed in svn rev 155 / release 0.25