digitalmars.D.bugs - [Issue 9254] New: ICE on invalid foreach aggregate
- d-bugmail puremagic.com (28/28) Jan 01 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9254
- d-bugmail puremagic.com (10/10) Jan 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9254
- d-bugmail puremagic.com (16/16) Jan 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9254
- d-bugmail puremagic.com (10/10) Jan 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9254
http://d.puremagic.com/issues/show_bug.cgi?id=9254 Summary: ICE on invalid foreach aggregate Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dmitry.olsh gmail.com 12:41:19 PST --- The following: void main(){ foreach(divisor; !(2, 3, 4, 8, 7, 9)) foreach(v; 0..uint.max)//comment this out and it compiles { } } Crashes DMD 2.061beta with: fastdiv.d(79): Error: invalid foreach aggregate false Assertion failure: '0' on line 2660 in file 'statement.c' abnormal program termination 2.060 produces same results. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 01 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9254 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/1430 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 03 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9254 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3a036842048beba5543f98c054b9fa30a1910c17 fix Issue 9254 - ICE on invalid foreach aggregate ForeachRangeStatement and WhileStatement are basically replaced into ForStatement in semantic phase. If any error occurs, they will be left as is, however. Therefor, `assert(0)` in blockExit, usesEH, comeFrom have the potential to be invoked. https://github.com/D-Programming-Language/dmd/commit/f762d5920e5b0b03753bfa3aab82c71ec90cb876 Issue 9254 - ICE on invalid foreach aggregate -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 04 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9254 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 04 2013