summaryrefslogtreecommitdiff
path: root/gcc/opth-gen.awk
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-26 14:01:02 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-26 14:01:02 +0000
commit17c66687862b6f2c9a5a33201b0628631e905fe7 (patch)
treeb3244e29a5cc16d545e033e9f075d8de9433269f /gcc/opth-gen.awk
parent6b0c137322e3a8a0349998688843a503660fad31 (diff)
downloadgcc-17c66687862b6f2c9a5a33201b0628631e905fe7.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132674 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opth-gen.awk')
-rw-r--r--gcc/opth-gen.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk
index f096112cc90..9aa18a12ad9 100644
--- a/gcc/opth-gen.awk
+++ b/gcc/opth-gen.awk
@@ -160,7 +160,7 @@ for (i = 0; i < n_opts; i++) {
len = length (opts[i]);
enum = "OPT_" opts[i]
- if (opts[i] == "finline-limit=")
+ if (opts[i] == "finline-limit=" || opts[i] == "Wlarger-than=")
enum = enum "eq"
gsub ("[^A-Za-z0-9]", "_", enum)