aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/Wbool-compare-3.c
AgeCommit message (Collapse)AuthorFilesLines
2015-04-30c-common.c (maybe_warn_bool_compare): When comparing with 0/1, require that ↵Marek Polacek1-0/+30
the non-constant be of a boolean type. * c-common.c (maybe_warn_bool_compare): When comparing with 0/1, require that the non-constant be of a boolean type. * c-c++-common/Wbool-compare-3.c: New test. From-SVN: r222622