https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109581
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> --- -ffast-math implies -ffinite-math-only which implies INF will not show up. "Allow optimizations for floating-point arithmetic that assume that arguments and results are not NaNs or +-Infs." https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Optimize-Options.html#index-ffinite-math-only