www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2055] New: (ICE) Compiler crash on struct initializer with too many elements

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2055

           Summary: (ICE) Compiler crash on struct initializer with too many
                    elements
           Product: D
           Version: 2.013
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: brunodomedeiros+bugz gmail.com


Compiler crash on struct initializer with too many elements:
---- ----

struct Struct { 
        char* chptr; 
}

void main()
{
        char ch = 'd';
        invariant Struct iStruct = {1, &ch};
}


-- 
Apr 28 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2055


bugzilla digitalmars.com changed:

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





Fixed dmd 1.030 and 2.014


-- 
May 22 2008