digitalmars.D.bugs - [Issue 11925] New: [2.065] [REGRESSION] ICE in CompoundStatement::semantic
- d-bugmail puremagic.com (33/33) Jan 14 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11925
- d-bugmail puremagic.com (28/28) Jan 14 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11925
- d-bugmail puremagic.com (10/10) Jan 14 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11925
- d-bugmail puremagic.com (6/6) Jan 14 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11925
- d-bugmail puremagic.com (6/6) Jan 14 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11925
- d-bugmail puremagic.com (10/12) Jan 14 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11925
- d-bugmail puremagic.com (11/11) Jan 14 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11925
- d-bugmail puremagic.com (12/12) Jan 15 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11925
https://d.puremagic.com/issues/show_bug.cgi?id=11925 Summary: [2.065] [REGRESSION] ICE in CompoundStatement::semantic Product: D Version: D1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: ibuclaw ubuntu.com This pull: https://github.com/D-Programming-Language/dmd/commit/c8773c166b7a131aba9c4a2656dd20a3d4a170ac#src/statement.c-P57 Broken the following code on GDC after merging the 2.065 branch: void main() { try { try { L1: {} } finally { } } finally { } goto L1; } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 14 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11925 Iain Buclaw <ibuclaw ubuntu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code, | |ice-on-valid-code CC| |ibuclaw ubuntu.com Severity|normal |regression Another example: void main() { switch (1) { case 1: goto L1; break; default: break; } try { L1: { } } finally { } } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 14 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11925 What appears to happen at a cursory look: Array::remove => dim -= 1; Array::insert => realloc() corrupts array as no resize occurs [Next Loop] Array::remove => memmove causes ICE because 'dim' is no longer valid. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 14 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11925 Looks like the culprit is Array::insert on a zero-length'd array. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 14 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11925 https://github.com/D-Programming-Language/dmd/pull/3096 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 14 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11925Looks like the culprit is Array::insert on a zero-length'd array.I think Array::insert should also work for zero-length'd array.https://github.com/D-Programming-Language/dmd/pull/3096I opened another PR to fix logical failure in CompoundStatement::semantic. https://github.com/D-Programming-Language/dmd/pull/3099 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 14 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11925 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6572dbf5e87a54d06347e538c0c846b666d4bb9d fix Issue 11925 - ICE in CompoundStatement::semantic https://github.com/D-Programming-Language/dmd/commit/da588730546af2e3c4732d3ade25b5002997a762 [REG2.065a] Issue 11925 - ICE in CompoundStatement::semantic -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 14 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11925 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-invalid-code, |ice, pull |ice-on-valid-code | Status|NEW |RESOLVED Version|D1 |D2 Resolution| |FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 15 2014