Thread overview
[Issue 2033] New: -g + circular refs => dmd hangs
Apr 25, 2008
d-bugmail
May 22, 2008
d-bugmail
May 07, 2009
d-bugmail
April 25, 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@digitalmars.com
        ReportedBy: h3r3tic@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! :)


-- 

May 22, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2033


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla@digitalmars.com  2008-05-22 05:00 -------
Fixed dmd 1.030


-- 

May 07, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2033


clugdbug@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amaury.pouly@gmail.com




------- Comment #2 from clugdbug@yahoo.com.au  2009-05-07 09:40 -------
*** Bug 2097 has been marked as a duplicate of this bug. ***


--