diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-24 20:41:01 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-24 20:41:01 +0000 |
commit | 5084b26fdabd1738bb7e284babce528be6cf5486 (patch) | |
tree | cd3ee7b50d659cf0d0f22c7534a1467d5235ac08 /gcc/optc-gen.awk | |
parent | f08153ef95f56439b9fc13ad12f5c37dc4fcff1a (diff) | |
download | gcc-5084b26fdabd1738bb7e284babce528be6cf5486.tar.gz |
2010-02-24 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c.opt (-ftemplate-depth=): New.
(-ftemplate-depth-): Deprecate.
* optc-gen.awk: Handle -ftemplate-depth=.
* opth-gen.awk: Likewise.
* c-opts.c (c_common_handle_option): Likewise.
* doc/invoke.texi (-ftemplate-depth-): Replace with
-ftemplate-depth=.
cp/
* pt.c (push_tinst_level): Replace -ftemplate-depth- with
-ftemplate-depth=.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157054 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optc-gen.awk')
-rw-r--r-- | gcc/optc-gen.awk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/optc-gen.awk b/gcc/optc-gen.awk index 992e4d316ac..e44b78cd46a 100644 --- a/gcc/optc-gen.awk +++ b/gcc/optc-gen.awk @@ -170,7 +170,8 @@ for (i = 0; i < n_opts; i++) { len = length (opts[i]); enum = "OPT_" opts[i] - if (opts[i] == "finline-limit=" || opts[i] == "Wlarger-than=") + if (opts[i] == "finline-limit=" || opts[i] == "Wlarger-than=" \ + || opts[i] == "ftemplate-depth=") enum = enum "eq" gsub ("[^A-Za-z0-9]", "_", enum) |