digitalmars.D.bugs - [Issue 513] New: using struct initializer on static array crashes the compiler
- d-bugmail puremagic.com (26/28) Nov 15 2006 http://d.puremagic.com/issues/show_bug.cgi?id=513
- d-bugmail puremagic.com (9/9) Dec 03 2006 http://d.puremagic.com/issues/show_bug.cgi?id=513
http://d.puremagic.com/issues/show_bug.cgi?id=513 Summary: using struct initializer on static array crashes the compiler Product: D Version: 0.174 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: mslenc gmail.com ==== case1.d ==== void foo() { int[1] barbar = { 1 }; } ==== case2.d ==== int[1] barbar = { 1 };dmd case1.dAssertion failure: '0' on line 219 in file 'init.c' abnormal program terminationdmd case2.ddmd.exe has encountered a problem and needs to close. We are sorry for the inconvenience. in some recent previous version (not sure which one, though), case2 correctly reported what the error is, and case1 still crashed. --
Nov 15 2006
http://d.puremagic.com/issues/show_bug.cgi?id=513 deewiant gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed in DMD 0.176. --
Dec 03 2006