aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-07-21 17:03:25 -0400
committerJason Merrill <jason@gcc.gnu.org>2009-07-21 17:03:25 -0400
commit4afe7ad7fb6ebd521a6ebf8098e362d4d4d9d808 (patch)
tree9cbbe0398c4b471cfc15b0d545a34277af2fc1f0 /gcc/c-common.c
parent4310f048df95043f1a85634a082817042e583b54 (diff)
downloadgcc-4afe7ad7fb6ebd521a6ebf8098e362d4d4d9d808.zip
gcc-4afe7ad7fb6ebd521a6ebf8098e362d4d4d9d808.tar.gz
gcc-4afe7ad7fb6ebd521a6ebf8098e362d4d4d9d808.tar.bz2
* c-common.c (max_tinst_depth): Increase default to 1024.
From-SVN: r149867
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 328e0fd..aaa6435 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -428,11 +428,11 @@ int flag_pretty_templates = 1;
int warn_implicit = 1;
-/* Maximum template instantiation depth. This limit is rather
- arbitrary, but it exists to limit the time it takes to notice
- infinite template instantiations. */
+/* Maximum template instantiation depth. This limit exists to limit the
+ time it takes to notice infinite template instantiations; the default
+ value of 1024 is likely to be in the next C++ standard. */
-int max_tinst_depth = 500;
+int max_tinst_depth = 1024;