digitalmars.D.bugs - [Issue 5120] New: [ICE] 'impl' on line 4018 in file 'mtype.c' on void associative arrays
- d-bugmail puremagic.com (23/23) Oct 25 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5120
- d-bugmail puremagic.com (26/26) Oct 30 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5120
- d-bugmail puremagic.com (12/12) Nov 07 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5120
http://d.puremagic.com/issues/show_bug.cgi?id=5120 Summary: [ICE] 'impl' on line 4018 in file 'mtype.c' on void associative arrays Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: sandford jhu.edu The following: enum c = (void[int]).sizeof; Results in an 'impl' on line 4018 in file 'mtype.c' with DMD 2.049. I've marked this ICE on valid, since void[int] b; is currently accepted as a valid declaration by DMD. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 25 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5120 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |clugdbug yahoo.com.au Summary|[ICE] 'impl' on line 4018 |ICE(mtype.c) void |in file 'mtype.c' on void |associative arrays |associative arrays | It should just be illegal to have an AA of type void. If applied to D1 as well, this would close bug 1606 "Cannot insert to void[int]. void[int] should be a hash set." which has been open with a patch for a thousand years. mtype.c, line 3956, TypeAArray::semantic() ---- switch (next->toBasetype()->ty) { case Tfunction: + case Tvoid: case Tnone: error(loc, "can't have associative array of %s", next->toChars()); return Type::terror; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 30 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5120 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED 14:12:18 PST --- http://www.dsource.org/projects/dmd/changeset/741 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 07 2010