Bug 2033 – -g + circular refs => dmd hangs

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P3
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2008-04-25T11:54:00Z
Last change time
2014-02-24T15:33:15Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
h3r3tic

Comments

Comment #0 by h3r3tic — 2008-04-25T11:54:29Z
When the following code is compiled with -g, it causes DMD to hang. Changing the order of Foo and Bar turns the hangup into a stack overflow. Same with 1.028 struct Foo { Bar[] bar; } // or union struct Bar { Foo foo; } Thanks upfront! :)
Comment #1 by bugzilla — 2008-05-22T05:00:08Z
Fixed dmd 1.030
Comment #2 by clugdbug — 2009-05-07T09:40:13Z
*** Bug 2097 has been marked as a duplicate of this bug. ***