[Bug target/13534] Invalid offset generated for loading 64-bit GPR on PPC64
lucier at math dot purdue dot edu
gcc-bugzilla@gcc.gnu.org
Thu Jan 1 00:45:00 GMT 2004
------- Additional Comments From lucier at math dot purdue dot edu 2004-01-01 00:45 -------
We can even make it simpler; the code is miscompiled if the line
___F64V1=(*((double*)((((int*)((___r1)-(1)))+1))));
is replaced by
___F64V1=(*((double*)(___r1+3)));
And ___r1 could certainly have been computed as (&x)-3 where x is a double variable.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13534
More information about the Gcc-bugs
mailing list