gcc version 2.96 (CVS, from 20000203, Linux): Bug with -O1

Horst von Brand vonbrand@sleipnir.valparaiso.cl
Wed Feb 9 18:18:00 GMT 2000


Daniel Lauer <daniel@informatik.uni-bonn.de> said:
> the compiler
> 	GNU C version 2.96 (CVS version from Feb 3, 2000)
> makes wrong assembler code when compiling the following C-Code with -O1.
> There is no error compiling it with -O0.

Thanks for the report.

Here (i686-redhat-linux, binutils-2.9.5.0.24, egcs-20000207) I get the
right behaviour for -O0 and -O3; -O1 and -O2 are broken.
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile                               +56 32 672616


More information about the Gcc-bugs mailing list