Bug 3663 – struct forward reference regresssion

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
Other
OS
All
Creation time
2010-01-01T07:41:00Z
Last change time
2014-04-18T09:12:07Z
Keywords
ice-on-valid-code
Assigned to
nobody
Creator
nfxjfg

Comments

Comment #0 by nfxjfg — 2010-01-01T07:41:59Z
The following code freezes up dmd 1.054, but works in dmd 1.053: class A { struct B { D x; struct C {} } } struct D {} Interestingly, it works if you remove the declaration for C. This bug currently prevents the compilation of Tango.
Comment #1 by clugdbug — 2010-01-01T10:40:41Z
Caused by the patch to bug 400. If you comment out the lines in struct.c added by the patch, the code compiles.
Comment #2 by bugzilla — 2010-01-02T03:57:27Z
Changeset 324
Comment #3 by bugzilla — 2010-01-03T12:40:52Z
Fixed dmd 1.055 and 2.039