This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25692] Strange results with cast when using -O2 flag or not under Linux ppc64
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jan 2006 14:54:05 -0000
- Subject: [Bug c/25692] Strange results with cast when using -O2 flag or not under Linux ppc64
- References: <bug-25692-11977@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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