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 c/25692] Strange results with cast when using -O2 flag or not under Linux ppc64



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



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