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

--- Comment #0 from klickverbot <> 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,
thus breaking the TYforward loop detection mechanism.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to