aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2008-02-26 14:01:02 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2008-02-26 14:01:02 +0000
commite8fc888de958caac184e708b40ef24df3507c943 (patch)
treeb3244e29a5cc16d545e033e9f075d8de9433269f /gcc/common.opt
parent185a6cc15950f65b1adbcaa528b4c1d5683d7ace (diff)
downloadgcc-e8fc888de958caac184e708b40ef24df3507c943.zip
gcc-e8fc888de958caac184e708b40ef24df3507c943.tar.gz
gcc-e8fc888de958caac184e708b40ef24df3507c943.tar.bz2
common.opt (Wlarger-than=): New.
2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * common.opt (Wlarger-than=): New. * doc/invoke.texi (Warning Options): Replace -Wlarger-than- with -Wlarger-than=. * opts.c (common_handle_option): Handle -Wlarger-than=. * optc-gen.awk: Likewise. * opth-gen.awk: Likewise. * stor-layout.c (layout_decl): Use -Wlarger-than= for warning. * tree-optimize.c (tree_rest_of_compilation): Likewise. testsuite/ * gcc.dg/Wlarger-than2.c: New. From-SVN: r132674
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 670466b..5c62510 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -127,7 +127,10 @@ Warn when an inlined function cannot be inlined
Wlarger-than-
Common RejectNegative Joined UInteger Warning
--Wlarger-than-<number> Warn if an object is larger than <number> bytes
+
+Wlarger-than=
+Common RejectNegative Joined UInteger Warning
+-Wlarger-than=<number> Warn if an object is larger than <number> bytes
Wlogical-op
Common Warning Var(warn_logical_op)