https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36831
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So from the information in the bug report, not setting -O2 in CFLAGS works. This means `gcc version 3.4.2` is miscompiling GCC 4.3.1. Since both of these versions of GCC is over 16 years old now there is not much we can do. So closing as invalid.