[Issue 1494] New: ICE on struct literal when struct has union members

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 11 15:59:56 PDT 2007


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

           Summary: ICE on struct literal when struct has union members
           Product: DGCC aka GDC
           Version: 0.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn at users.sf.net
        ReportedBy: tomas at famolsen.dk


module hmm;

struct S
{
    union {
        int i;
        uint ui;
    }
}

void main()
{
    S s = S(1);
}

------------------------------------------------

hmm.d: In function ‘main’:
hmm.d:13: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 



More information about the D.gnu mailing list