c-common.c (maybe_warn_bool_compare): When comparing with 0/1, require that the…
c-common.c (maybe_warn_bool_compare): When comparing with 0/1, require that 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
Showing
gcc/testsuite/c-c++-common/Wbool-compare-3.c
0 → 100644
Please
register
or
sign in
to comment