[Issue 9781] New: -inline will cause backend ICE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 21 18:55:08 PDT 2013
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: nobody at puremagic.com
ReportedBy: k.hara.pg at gmail.com
--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list