2033 – -g + circular refs => dmd hangs

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2033 - -g + circular refs => dmd hangs
Summary: -g + circular refs => dmd hangs
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P3 major
Assignee: Walter Bright
URL:
Keywords: ice-on-valid-code
: 2097 (view as issue list)
Depends on:
Blocks:
Reported: 2008年04月25日 11:54 UTC by Tomasz Stachowiak
Modified: 2014年02月24日 15:33 UTC (History)
1 user (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Tomasz Stachowiak 2008年04月25日 11:54:29 UTC
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 Walter Bright 2008年05月22日 05:00:08 UTC
Fixed dmd 1.030
Comment 2 Don 2009年05月07日 09:40:13 UTC
*** Bug 2097 has been marked as a duplicate of this bug. ***


AltStyle によって変換されたページ (->オリジナル) /