diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-26 14:01:02 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-26 14:01:02 +0000 |
commit | 17c66687862b6f2c9a5a33201b0628631e905fe7 (patch) | |
tree | b3244e29a5cc16d545e033e9f075d8de9433269f /gcc/optc-gen.awk | |
parent | 6b0c137322e3a8a0349998688843a503660fad31 (diff) | |
download | gcc-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/optc-gen.awk')
-rw-r--r-- | gcc/optc-gen.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optc-gen.awk b/gcc/optc-gen.awk index f0bd8e5946c..cd1024406da 100644 --- a/gcc/optc-gen.awk +++ b/gcc/optc-gen.awk @@ -150,7 +150,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) |