aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-opts.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2010-02-24 20:41:01 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2010-02-24 20:41:01 +0000
commit124e0d274a830ab0c13e80cde1716abd23bd20b9 (patch)
treecd3ee7b50d659cf0d0f22c7534a1467d5235ac08 /gcc/c-opts.c
parent0e7750a0105041cf8dda86be2e9309530df2212f (diff)
downloadgcc-124e0d274a830ab0c13e80cde1716abd23bd20b9.zip
gcc-124e0d274a830ab0c13e80cde1716abd23bd20b9.tar.gz
gcc-124e0d274a830ab0c13e80cde1716abd23bd20b9.tar.bz2
c.opt (-ftemplate-depth=): New.
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=. From-SVN: r157054
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r--gcc/c-opts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index cf1e372..7dfc1fb 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -801,6 +801,8 @@ c_common_handle_option (size_t scode, const char *arg, int value)
break;
case OPT_ftemplate_depth_:
+ /* Kept for backwards compatibility. */
+ case OPT_ftemplate_depth_eq:
max_tinst_depth = value;
break;