www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2097] New: -g + auto ref => stack overflow, similar to issue 2033

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2097

           Summary: -g + auto ref => stack overflow, similar to issue 2033
           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: amaury.pouly gmail.com


Hi, the following code compiled with -g with latest version of dmd produces a
Stack Overflow whereas it does not without the -g switch:

struct T
{
        T[] type_list;
}

I believe this bug is be related to issue 2033 but instead of circular
reference, the struct refers to itself.


-- 
May 11 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2097


clugdbug yahoo.com.au changed:

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




------- Comment #1 from clugdbug yahoo.com.au  2009-05-07 09:40 -------
Works for me: This stopped failing at the same time that 2033 was fixed. I'm
almost certain it was the same bug.


*** This bug has been marked as a duplicate of 2033 ***


-- 
May 07 2009