digitalmars.D.bugs - [Issue 6945] New: [ICE](expression.c line 1853) arrays of missing symbols
- d-bugmail puremagic.com (23/23) Nov 13 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6945
- d-bugmail puremagic.com (16/16) Dec 12 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6945
- d-bugmail puremagic.com (13/13) Apr 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6945
http://d.puremagic.com/issues/show_bug.cgi?id=6945 Summary: [ICE](expression.c line 1853) arrays of missing symbols Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc --- Comment #0 from bearophile_hugs eml.cc 2011-11-13 20:08:37 PST --- A wrong program (it misses a like where A and B enums are defined): enum uint foo = A | B; enum uint[] bar = [foo]; void main() {} DMD 2.057head gives: Assertion failure: '0' on line 1853 in file 'expression.c' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 13 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6945 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code CC| |yebblies gmail.com --- Comment #1 from yebblies <yebblies gmail.com> 2011-12-13 17:46:22 EST --- foo's initializer is evaluated once with errors gagged for the foo declaration, then again when it's used in bar's declaration. The type ends up full of errors, but the error count is never incremented. I don't really understand why it's doing this, and the correct place to run (or re-run) semantic ungagged is unclear. The comment at 1411 in declaration.c doesn't really help, and the code is ancient. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 12 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6945 SomeDude <lovelydear mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear mailmetrash.com --- Comment #2 from SomeDude <lovelydear mailmetrash.com> 2012-04-21 01:11:49 PDT --- This one gives correct compilation messages on 2.059: PS E:\DigitalMars\dmd2\samples> rdmd bug bug.d(1): Error: undefined identifier A bug.d(1): Error: undefined identifier B -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 21 2012