www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12381] New: [ICE] Two internal errors in e2ir.c while casting array ops

https://d.puremagic.com/issues/show_bug.cgi?id=12381

           Summary: [ICE] Two internal errors in e2ir.c while casting
                    array ops
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: philippe.sigaud gmail.com



11:49:09 CET ---
I get two different ICE while casting an array operation:


module bug;

void main()
{
  double[2] y;
  double h;

  //double[2] temp1 = cast(double[2])(h*y[]); // Internal error: e2ir.c 2077

  double[2] temp2 = cast(double[2])(y[]); // Internal error: e2ir.c 4616

}

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 16 2014