https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111887
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -Ofast enables -ffinite-math-only which means infinite will not show up and compares against it will not work.