This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/13534] Invalid offset generated for loading 64-bit GPR on PPC64


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]