http://d.puremagic.com/issues/show_bug.cgi?id=7127
Summary: Const-related infinite recursion in DWARF generation Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Keywords: patch Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: c...@klickverbot.at --- Comment #0 from klickverbot <c...@klickverbot.at> 2011-12-18 07:09:08 PST --- This example crashes DMD from Git master when invoked with -g or -gc: --- struct Foo { const(Foo)* bar; } Foo foo; --- (the global is just necessary to trigger debug info generation for Foo). What happens is that that for emitting debug info for const types, a copy of the type is made at https://github.com/D-Programming-Language/dmd/blob/master/src/backend/dwarf.c#L1571, thus breaking the TYforward loop detection mechanism. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------