https://issues.dlang.org/show_bug.cgi?id=6189
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|D1 D2 |D2
--
/69634f17f19663c100fd47392b25160c404843eb
fix Issue 6189 - [64bit] optimizer: register content destroyed in function
prolog
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=6189
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
/41b1412aca8e8d9370d4479a1f52388c69685592
fix Issue 6189 - [64bit] optimizer: register content destroyed in function
prolog
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=6189
--- Comment #11 from Leandro Lucarella leandro.lucare...@sociomantic.com
2012-05-22 11:14:28 PDT ---
(In reply to comment #9)
Reduced test case (compile with -m64 -O):
void bug6189(int half, int[2] pos, float[3] *pts, int unused)
{
http://d.puremagic.com/issues/show_bug.cgi?id=6189
Leandro Lucarella leandro.lucare...@sociomantic.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6189
--- Comment #13 from d...@dawgfoto.de 2012-05-22 12:00:35 PDT ---
OK, this one fails too in latest D1 and D2, but interestingly enough, it works
with -O -inline (in both D1 and D2)!
This bug depends completely on register allocation and
http://d.puremagic.com/issues/show_bug.cgi?id=6189
--- Comment #9 from Don clugd...@yahoo.com.au 2012-05-21 06:14:16 PDT ---
Reduced test case (compile with -m64 -O):
void bug6189(int half, int[2] pos, float[3] *pts, int unused)
{
pos[0] += half;
(*pts)[0] = pos[0];
(*pts)[1] =