aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2015-04-30 13:20:03 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2015-04-30 13:20:03 +0000
commit577cd070845fb8facf0a451aafe1e444b9374b08 (patch)
tree542480c9b7ef2c43959ef8a34b1d4b686702590a /gcc/final.c
parentbb83a43d6b768886ea4733ca6218f30d90ea0e15 (diff)
downloadgcc-577cd070845fb8facf0a451aafe1e444b9374b08.zip
gcc-577cd070845fb8facf0a451aafe1e444b9374b08.tar.gz
gcc-577cd070845fb8facf0a451aafe1e444b9374b08.tar.bz2
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
Diffstat (limited to 'gcc/final.c')
0 files changed, 0 insertions, 0 deletions