digitalmars.D.bugs - [Issue 2290] New: DMD segmentation fault for struct using enum that is defined later
- d-bugmail puremagic.com (24/24) Aug 18 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2290
- d-bugmail puremagic.com (10/10) Aug 19 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2290
http://d.puremagic.com/issues/show_bug.cgi?id=2290 Summary: DMD segmentation fault for struct using enum that is defined later Product: D Version: 2.018 Platform: PC OS/Version: Linux Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: benoit tionex.de struct Style { Access access; } enum Access : ubyte { Read = 0x01 } void main(){ } Moving the enum above the struct make the crash go away. This worked with DMD 2.008 and starting with 2.009 DMD crashes. --
Aug 18 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2290 schveiguy yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE Added 2215 the last time I tried the D2 Tango port :) *** This bug has been marked as a duplicate of 2215 *** --
Aug 19 2008