Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-02-22 | re PR c/19999 (-Wfloat-equal does not warn for complex numbers) | Ralf Wildenhues | 1 | -0/+10 | |
gcc/: PR c/19999 * c-typeck.c (build_binary_op): Warn about floating point comparisons if FLOAT_TYPE_P, not only for REAL_TYPE. gcc/cp/: * typeck.c (build_binary_op): Warn about floating point comparisons if FLOAT_TYPE_P, not only for REAL_TYPE. gcc/testsuite/: * gcc.dg/Wfloat-equal-1.c: New. * g++.dg/warn/Wfloat-equal-1.C: New. From-SVN: r132540 |