[Bug c/38777] gcc optimize flag causes different program behavior

2009-01-09 Thread dov dot grobgeld at gmail dot com
--- Comment #3 from dov dot grobgeld at gmail dot com 2009-01-09 10:46 --- The only flag that had any affect was the -ffloat-store option, which made the problem disappear. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38777

[Bug c/38777] gcc optimize flag causes different program behavior

2009-01-09 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-01-09 10:38 --- Also, if it is floating point using app on i?86, -msse2 -mfpmath=sse or -ffloat-store. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38777

[Bug c/38777] gcc optimize flag causes different program behavior

2009-01-09 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-09 10:34 --- Try -fno-strict-aliasing -fno-strict-overflow. This is likely a program bug. Hard to say without a testcase though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38777