[Issue 2077] New: Union literal crashes the compiler

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 7 20:27:59 PDT 2008


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

           Summary: Union literal crashes the compiler
           Product: DGCC aka GDC
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn at users.sf.net
        ReportedBy: aronnax at umd.edu


Initializing a union with a union literal crashes the compiler:

$ gdc union_literal.d
union_literal.d: In function 'main':
union_literal.d:33: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

See attached file for code listing.
I am using gcc-4.1.2+dgcc on Mac OS X Tiger 10.5.2.


-- 



More information about the D.gnu mailing list