[Bug c/25692] Strange results with cast when using -O2 flag or not under Linux ppc64
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 6 14:54:00 GMT 2006
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-01-06 14:53 -------
(In reply to comment #3)
> Maybe...
>
> But I made some tests under Linux X86 and some AIX 64 bits. This code works as
> expected everywhere...
> So, I wonder why gcc behaviour is différent under this Linux PPC64 ?
Because PPC 64 schedules code more aggressively. Anyways the code is undefined
so anything can happen.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25692
More information about the Gcc-bugs
mailing list