https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121001
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > GCC behaves IMHO correctly. On the true edge of a == a we know a is [-Inf, > +Inf]. > And +Inf*0.f or -Inf*0.f is NaN. Oh I missed that. For some reason I thought Inf *0.0 was 0.0.