[Issue 2033] New: -g + circular refs => dmd hangs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 25 09:54:35 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2033

           Summary: -g + circular refs => dmd hangs
           Product: D
           Version: 1.029
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: major
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: h3r3tic at mat.uni.torun.pl


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! :)


-- 



More information about the Digitalmars-d-bugs mailing list