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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 16 03:49:11 PDT 2014


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 at puremagic.com
        ReportedBy: philippe.sigaud at gmail.com


--- Comment #0 from Philippe Sigaud <philippe.sigaud at gmail.com> 2014-03-16 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: -------


More information about the Digitalmars-d-bugs mailing list