]> gcc.gnu.org Git - gcc.git/commitdiff
* c-common.c (max_tinst_depth): Increase default to 1024.
authorJason Merrill <jason@redhat.com>
Tue, 21 Jul 2009 21:03:25 +0000 (17:03 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 21 Jul 2009 21:03:25 +0000 (17:03 -0400)
From-SVN: r149867

gcc/ChangeLog
gcc/c-common.c

index a62d79f4caeb2907abb7eda1098b12a41fcb5b4f..670b06ccf4771f1d281ea065dc3cad9674759619 100644 (file)
@@ -1,3 +1,7 @@
+2009-07-21  Jason Merrill  <jason@redhat.com>
+
+       * c-common.c (max_tinst_depth): Increase default to 1024.
+
 2009-07-21  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/sse.md (vec_unpacku_float_hi_v4si): New expander.
index 328e0fdae8e8d6c3e4a4eef19fc24a77188ab9b8..aaa64351fd4f5bf7c6430666522a14e77afa5653 100644 (file)
@@ -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;
 
 
 
This page took 0.110124 seconds and 5 git commands to generate.