https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105278
--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to David Binderman from comment #2) > (In reply to Eric Gallager from comment #1) > > -Wfloat-equal gets you a warning, as does -Wdouble-promotion: > > Thanks for that. This looks like another case where an obscure flag > really ought to be in -Wall or at least -Wextra. > > I'll be adding it into my local compiler. Which one of them specifically do you want as part of -Wall or -Wextra? Because the latter is listed explicitly in some documentation somewhere as an example of a flag that would be bad to include in -Wall or -Wextra.