OSDN Git Service

http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Feb 2008 16:40:32 +0000 (16:40 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Feb 2008 16:40:32 +0000 (16:40 +0000)
commit100b67dab1b474045ad0fe0136894bf545caa23e
tree771c35c481fdb2bb880ce72ab481848d5c8a4fa6
parent2aeab935658057b970d1e341010359c6648eaa8e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132591 138bc75d-0d04-0410-961f-82ee72b054a4
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