← Back to index
|
Original Bugzilla link
Bug 5755 – Internal error in cgcs.c
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2011-03-19T16:07:00Z
Last change time
2011-03-19T17:06:50Z
Keywords
rejects-valid
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0
by bearophile_hugs — 2011-03-19T16:07:51Z
struct Foo { int x; } int[1] bar(Foo f) { return [f.x]; } void main() { int y = bar(Foo())[0]; } DMD 2.052 shows: Internal error: ..\ztc\cgcs.c 359
Comment #1
by kennytm — 2011-03-19T16:47:22Z
Obviously the same class of bug you've reported 8 months ago. *** This issue has been marked as a duplicate of issue 4414 ***
Comment #2
by bearophile_hugs — 2011-03-19T17:06:50Z
(In reply to comment #1) > Obviously the same class of bug you've reported 8 months ago. I am sorry, and thank you for spotting the duplication :-)