http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
commit82ec0d8f13e36154e25c90dc932cfc8eac725323
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Feb 2008 04:17:58 +0000 (5 04:17 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Feb 2008 04:17:58 +0000 (5 04:17 +0000)
tree120cc926d9831ee3f75941a07032ac3ae6176d78
parentb87809441e5e0db81717e55fa25e04348298bfdd
gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html

PR 33738
* tree-vrp.c (vrp_evaluate_conditional): With
-Wtype-limits, emit a warning when comparing against a
constant outside the natural range of OP0's type.

testsuite/ChangeLog

PR 33738
* testsuite/g++.dg/warn/pr33738.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132111 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/pr33738.C [new file with mode: 0644]
gcc/tree-vrp.c