www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 2077] New: Union literal crashes the compiler

reply d-bugmail puremagic.com writes:
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 users.sf.net
        ReportedBy: aronnax 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.


-- 
May 07 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2077





------- Comment #1 from aronnax umd.edu  2008-05-07 22:28 -------
Created an attachment (id=253)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=253&action=view)
Source listing


-- 
May 07 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2077


dvdfrdmn users.sf.net changed:

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




------- Comment #2 from dvdfrdmn users.sf.net  2008-05-11 10:46 -------
Fixed as of release 0.25 / svn 222


-- 
May 11 2008