digitalmars.D.bugs - [Issue 2537] New: compiler crashes on this code:
- d-bugmail puremagic.com (16/16) Dec 22 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2537
- d-bugmail puremagic.com (6/6) Dec 22 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2537
- d-bugmail puremagic.com (11/11) Dec 22 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2537
- d-bugmail puremagic.com (7/7) Jan 08 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2537
- d-bugmail puremagic.com (5/5) Jan 08 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2537
- d-bugmail puremagic.com (5/8) Jan 09 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2537
http://d.puremagic.com/issues/show_bug.cgi?id=2537 Summary: compiler crashes on this code: Product: D Version: 2.022 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: resume755 mail.ru (code attached in next message) $ dmd -unittest bug.d Segmentation fault --
Dec 22 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2537 Created an attachment (id=284) --> (http://d.puremagic.com/issues/attachment.cgi?id=284&action=view) dmd 2.022 segfault on this code --
Dec 22 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2537 (thanks to maxter) Error can be avoided by replacement of lines on: enum isDynamicT = false; alias typeof( this ) M; enum width = width2; enum height = height2; enum length = width * height; private Element[] data; --
Dec 22 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2537 resume755 mail.ru changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --
Jan 08 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2537 Wait.. Does dmd still crash on the original code or not? ANY instance of dmd crashing is a bug, even if the input source can be changed to avoid it. --
Jan 08 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2537Wait.. Does dmd still crash on the original code or not? ANY instance of dmd crashing is a bug, even if the input source can be changed to avoid it.No, in 2.023 this bug is fixed --
Jan 09 2009