From e8fc888de958caac184e708b40ef24df3507c943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Tue, 26 Feb 2008 14:01:02 +0000 Subject: common.opt (Wlarger-than=): New. 2008-02-26 Manuel Lopez-Ibanez * 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 --- gcc/common.opt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/common.opt') 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- Warn if an object is larger than bytes + +Wlarger-than= +Common RejectNegative Joined UInteger Warning +-Wlarger-than= Warn if an object is larger than bytes Wlogical-op Common Warning Var(warn_logical_op) -- cgit v1.1