]> git.ipfire.org Git - thirdparty/gcc.git/commit
http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
authorDiego Novillo <dnovillo@google.com>
Tue, 5 Feb 2008 04:17:58 +0000 (23:17 -0500)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Tue, 5 Feb 2008 04:17:58 +0000 (23:17 -0500)
commit3467b230ffd4f43407c6643d8990f545e06aa32f
tree120cc926d9831ee3f75941a07032ac3ae6176d78
parentb452c14185d1be92fa936611ecf84dfe475b703c
http://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.

From-SVN: r132111
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/pr33738.C [new file with mode: 0644]
gcc/tree-vrp.c