aboutsummaryrefslogtreecommitdiff
path: root/gcc/c.opt
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2008-02-24 11:40:32 -0500
committerDiego Novillo <dnovillo@gcc.gnu.org>2008-02-24 11:40:32 -0500
commitfaebccf9b6ec3f4bfdcc268fc55cf58c397bed6c (patch)
tree771c35c481fdb2bb880ce72ab481848d5c8a4fa6 /gcc/c.opt
parent88c7f01b6c31f28392eacfda320c90835a50199a (diff)
downloadgcc-faebccf9b6ec3f4bfdcc268fc55cf58c397bed6c.zip
gcc-faebccf9b6ec3f4bfdcc268fc55cf58c397bed6c.tar.gz
gcc-faebccf9b6ec3f4bfdcc268fc55cf58c397bed6c.tar.bz2
http://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
Diffstat (limited to 'gcc/c.opt')
-rw-r--r--gcc/c.opt4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/c.opt b/gcc/c.opt
index 94f0398..72165b9 100644
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -123,10 +123,6 @@ Wall
C ObjC C++ ObjC++ Warning
Enable most warning messages
-Wtype-limits
-C ObjC C++ ObjC++ Var(warn_type_limits) Init(-1) Warning
-Warn if a comparison is always true or always false due to the limited range of the data type
-
Wassign-intercept
ObjC ObjC++ Var(warn_assign_intercept) Warning
Warn whenever an Objective-C assignment is being intercepted by the garbage collector