http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
authorDiego Novillo <dnovillo@google.com>
Sun, 24 Feb 2008 16:40:32 +0000 (11:40 -0500)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Sun, 24 Feb 2008 16:40:32 +0000 (11:40 -0500)
commitfaebccf9b6ec3f4bfdcc268fc55cf58c397bed6c
tree771c35c481fdb2bb880ce72ab481848d5c8a4fa6
parent88c7f01b6c31f28392eacfda320c90835a50199a
gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.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.
* c.opt (Wtype-limits): Move ...
* common.opt (Wtype-limits): ... here.

testsuite/ChangeLog

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

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