[Bug c/25692] New: Strange results with cast when using -O2 flag or not under Linux ppc64

2006-01-06 Thread fm at 4js dot com
read model: posix gcc version 4.0.0 Environment: Linux 2.6.9-11.EL #1 SMP Fri May 20 18:18:48 EDT 2005 ppc64 ppc64 ppc64 GNU/Linux Best regards. -- Summary: Strange results with cast when using -O2 flag or not under Linux ppc64 Product: gcc Ve

[Bug c/25692] Strange results with cast when using -O2 flag or not under Linux ppc64

2006-01-06 Thread fm at 4js dot com
--- Comment #1 from fm at 4js dot com 2006-01-06 14:19 --- Created an attachment (id=10589) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10589&action=view) Small sample to illustrate the problem How to repeat sample -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25692

[Bug c/25692] Strange results with cast when using -O2 flag or not under Linux ppc64

2006-01-06 Thread fm at 4js dot com
--- Comment #3 from fm at 4js dot com 2006-01-06 14:46 --- 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 ? -- http://gcc.gnu.org/bugzilla