https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86855
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Most likely treating -0.0 the same as 0.0 as -ffast-math enables -ffinite-math-only. So yes, it is expected.