http://d.puremagic.com/issues/show_bug.cgi?id=9781

           Summary: -inline will cause backend ICE
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Kenji Hara <[email protected]> 2013-03-21 18:55:07 PDT ---
void main()
{
    int foo(int[4] x)
    {
        return x[1] * x[2];
    }
    int[] xs = [0,1,2,3];
    foo(xs[0 .. 4]);
}


$ dmd -inline -run test
DMD v2.063 DEBUG
tym = x25
el:0034D6AC cnt=0 cs=0 *  TYint 0034D16C 0034D4B4
 el:0034D16C cnt=0 cs=0 const  TYvoid 1L
 el:0034D4B4 cnt=0 cs=0 const  TYvoid 1L
Internal error: backend\evalu8.c 1222

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

Reply via email to