This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13534] Invalid offset generated for loading 64-bit GPR on PPC64
- From: "lucier at math dot purdue dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jan 2004 00:45:04 -0000
- Subject: [Bug target/13534] Invalid offset generated for loading 64-bit GPR on PPC64
- References: <20031231213447.13534.lucier@math.purdue.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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