https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105278
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> --- (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.