https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93878
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -Wfloat-equal is not flow sensative. So GCC does not know that rounded is rounded to the nearest integer. We are not going to improve this warning to be flow sensative as that would produce too many false negaitves. Yes there are some false positives but not enough to make a difference in general.