GCC 4.7.0 has:
gcc --help=warnings
and he produces, among many others:
-Wfloat-equal Warn if testing floating point numbers for equality
(GCC 4.1.2 does not support extended help, it just has --help . However, it does have a warning option.)
source share