aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog6
-rw-r--r--gcc/cp/decl2.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b4cc634..10e84b4 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,4 +1,8 @@
-2002-01-20 Graham Stott <grahams@redhat.com>
+2002-01-10 Jakub Jelinek <jakub@redhat.com>
+
+ * decl2.c (max_tinst_depth): Increase default limit to 500.
+
+2002-01-10 Graham Stott <grahams@redhat.com>
* spew.c (YYCHAR): Uppercase macro parameter and add
parenthesis.
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index efc1abd..c384f86 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -382,7 +382,7 @@ int flag_use_cxa_atexit;
arbitrary, but it exists to limit the time it takes to notice
infinite template instantiations. */
-int max_tinst_depth = 50;
+int max_tinst_depth = 500;
/* Nonzero means output .vtable_{entry,inherit} for use in doing vtable gc. */