https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108002
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=50602, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=47011 Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- # pragma GCC optimize("-O2") The bugs that related to this pragma were fixed in GCC 4.8.0 (a few were fixed before). There were many changes that helped fix it. You could always build a newer GCC yourself but with an over 10 year release is not going to be really supported. There is nothing GCC bug report can do to help you. RHEL5 is just not supported.