From: Jason Merrill Date: Tue, 21 Jul 2009 21:03:25 +0000 (-0400) Subject: * c-common.c (max_tinst_depth): Increase default to 1024. X-Git-Tag: releases/gcc-4.5.0~4464 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4afe7ad7fb6ebd521a6ebf8098e362d4d4d9d808;p=thirdparty%2Fgcc.git * c-common.c (max_tinst_depth): Increase default to 1024. From-SVN: r149867 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a62d79f4caeb..670b06ccf477 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-07-21 Jason Merrill + + * c-common.c (max_tinst_depth): Increase default to 1024. + 2009-07-21 Uros Bizjak * config/i386/sse.md (vec_unpacku_float_hi_v4si): New expander. diff --git a/gcc/c-common.c b/gcc/c-common.c index 328e0fdae8e8..aaa64351fd4f 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;