Bug 14906 – dmd dumps core at incorrect enum declaration

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-08-11T16:35:00Z
Last change time
2017-07-22T12:36:26Z
Keywords
ice, pull
Assigned to
nobody
Creator
sdegtiarev

Comments

Comment #0 by sdegtiarev — 2015-08-11T16:35:45Z
dmd v2.067.1 dumps core at this simple code: enum A; void f(A) {} The enum declaration is obviously incorrect and wouldn't compile anyway. However, dmd crashes at once with no error echoed.
Comment #1 by k.hara.pg — 2015-08-12T01:29:42Z
Comment #2 by github-bugzilla — 2015-08-12T06:36:47Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1a5b4098e7a7f0bbdfd3c8035a93d1e71471afc1 fix Issue 14906 - dmd dumps core at incorrect enum declaration https://github.com/D-Programming-Language/dmd/commit/d4b1b3a2b19fd0e32162876d6c182c79b63a93e7 Merge pull request #4881 from 9rnsr/fix14906 Issue 14906 - dmd dumps core at incorrect enum declaration
Comment #3 by github-bugzilla — 2017-07-22T12:36:26Z
Commits pushed to dmd-cxx at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/1a5b4098e7a7f0bbdfd3c8035a93d1e71471afc1 fix Issue 14906 - dmd dumps core at incorrect enum declaration https://github.com/dlang/dmd/commit/d4b1b3a2b19fd0e32162876d6c182c79b63a93e7 Merge pull request #4881 from 9rnsr/fix14906