optimization/9052: in C code, "if" statement fails to execute if optimized

Eric Botcazou ebotcazou@libertysurf.fr
Thu Feb 13 21:53:00 GMT 2003

> Exactly - however, I feel I cannot close these reports because I do not
> have access to x86 hardware anymore, so I cannot easily test whether
> they indeed *are* -ffloat-store issues ....

Steven probably checked it too, but I can confirm that PR fortran/8445 
vanishes (i.e the ouput is back to 1 line) when compiled with -O1 
-ffloat-store instead of -O1 only.

Reading specs from /usr/local/lib/gcc-lib/i586-redhat-linux-gnu/3.2.3/specs
Configured with: ../configure --host=i586-redhat-linux-gnu 
--prefix=/usr/local --enable-languages=c,c++,objc,f77 
--enable-checking=misc,tree --disable-nls
Thread model: posix
gcc version 3.2.3 20030210 (prerelease)

Eric Botcazou

More information about the Gcc-bugs mailing list