aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wfloat-equal-1.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-22re PR c/19999 (-Wfloat-equal does not warn for complex numbers)Ralf Wildenhues1-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