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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 11 12:15:53 PDT 2008


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 at digitalmars.com
        ReportedBy: amaury.pouly at 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.


-- 



More information about the Digitalmars-d-bugs mailing list