← Back to index
|
Original Bugzilla link
Bug 6795 – ICE(cgcs.c): Incrementing an enum array item
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-10-08T19:10:00Z
Last change time
2013-04-10T22:03:42Z
Keywords
ice
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0
by bearophile_hugs — 2011-10-08T19:10:07Z
void main() { enum int[] array = [0]; array[0]++; } DMD 2.056head: Internal error: backend\cgcs.c 526
Comment #1
by yebblies — 2013-01-16T07:02:27Z
Still exists with 2.062 head
Comment #2
by bugzilla — 2013-04-07T14:27:17Z
https://github.com/D-Programming-Language/dmd/pull/1863
Comment #3
by github-bugzilla — 2013-04-10T19:58:07Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/011d2e992919a4663ea8ce5259f534ffb544aea4
fix Issue 6795 - ICE(cgcs.c): Incrementing an enum array item
https://github.com/D-Programming-Language/dmd/commit/ad6e53715cd20e52e4d3fb9559b3c023a1edd236
Merge pull request #1863 from WalterBright/fix6795 fix Issue 6795 - ICE(cgcs.c): Incrementing an enum array item
Comment #4
by github-bugzilla — 2013-04-10T22:03:42Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/c8af3c7abd4f41e1809fb8dc9da4d4808b01cf03
imrove issue 6795 test case
https://github.com/D-Programming-Language/dmd/commit/2ba4076ef4c8eb4c6f4af506ff889682f9814732
Merge pull request #1885 from 9rnsr/fix_testcase Fix test cases for issue 9892 and 6795