digitalmars.D.bugs - [Issue 9781] New: -inline will cause backend ICE
- d-bugmail puremagic.com (33/33) Mar 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9781
- d-bugmail puremagic.com (10/10) Mar 23 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9781
- d-bugmail puremagic.com (17/17) Apr 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9781
- d-bugmail puremagic.com (10/10) Apr 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9781
- d-bugmail puremagic.com (13/13) Apr 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9781
- d-bugmail puremagic.com (9/9) Apr 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9781
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 puremagic.com ReportedBy: k.hara.pg gmail.com 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: -------
Mar 21 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9781 Martin Nowak <code dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |code dawg.eu Apparently the left and the right elem have the wrong type and value. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 23 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9781 cat > bug.d << CODE int foo9781(int[1] x) { return x[0] * x[0]; } void test9781() { foo9781([7]); } CODE dmd -c -inline bug.d Happens with v2.062 too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9781 Martin Nowak <code dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/1874 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9781 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4ae287b83ac939a767bbff392a8e931684f4827b fix Issue 9781 - -inline will cause backend ICE - this rewrite created a const elem with type TYvoid which caused the backend assert in evalu8 https://github.com/D-Programming-Language/dmd/commit/7bf44a9a3a52ae61142307fd71d69f6708020337 fix Issue 9781 - -inline will cause backend ICE -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9781 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 08 2013