Thread overview
[Issue 1226] New: ICE on a struct literal
May 10, 2007
d-bugmail
[Issue 1226] ICE on a struct literal of a struct containing a struct
May 31, 2007
d-bugmail
Jun 06, 2007
d-bugmail
May 10, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1226

           Summary: ICE on a struct literal
           Product: D
           Version: 1.014
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: onlystupidspamhere@yahoo.se


The following code crashes DMD:

struct A {}

struct B(L) {
  A l;
}

void main() {
  A a;
  auto b = B!(A)(a);
}


-- 

May 31, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1226


deewiant@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |deewiant@gmail.com
           Keywords|                            |ice-on-valid-code
            Summary|ICE on a struct literal     |ICE on a struct literal of a
                   |                            |struct containing a struct




------- Comment #1 from deewiant@gmail.com  2007-05-31 10:20 -------
Simplified case:

struct A {}

struct B {
        A a;
}

void main() {
        B b = B();
}


-- 

June 06, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1226


onlystupidspamhere@yahoo.se changed:

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




------- Comment #2 from onlystupidspamhere@yahoo.se  2007-06-06 06:13 -------
Fixed in DMD 1.015.


--