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