c-common.c (warn_tautological_cmp): Bail for float types.
authorMarek Polacek <polacek@redhat.com>
Thu, 30 Jul 2015 08:31:59 +0000 (08:31 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 30 Jul 2015 08:31:59 +0000 (08:31 +0000)
commit173864e8f143d138c2805c03699d8d58b2c970c8
tree6d585d350099dc5419318d05edf0701334efd02c
parent53a19317f40159b3fd96391a87182c8e0c7072c4
c-common.c (warn_tautological_cmp): Bail for float types.

* c-common.c (warn_tautological_cmp): Bail for float types.

* c-c++-common/Wtautological-compare-3.c: New test.

From-SVN: r226388
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wtautological-compare-3.c [new file with mode: 0644]