[Issue 3976] New: segfault on anonymous struct/union

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 16 12:24:32 PDT 2010


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

           Summary: segfault on anonymous struct/union
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ellery-newcomer at utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2010-03-16 12:24:31 PDT ---
struct A{
    struct{
        B b;
        C c;
    }
}
struct B{
    int i;
}
struct C{
    int j;
}

and DMD bombs out. Seems to be a forward referencing problem, as the
AnonDeclaration's scope never gets set.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list