From: Jason Merrill Date: Tue, 12 Jul 2011 21:24:43 +0000 (-0400) Subject: s/recurson/recursion/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38ab02dbdc0bb4488a9419dfd7e3e17b799b9710;p=gcc.git s/recurson/recursion/ From-SVN: r176217 --- diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 33b5b5fab0c..893a4bf7664 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -7515,7 +7515,7 @@ neglectable_inst_p (tree d) neglectable and instantiated from within an erroneous instantiation. */ static bool -limit_bad_template_recurson (tree decl) +limit_bad_template_recursion (tree decl) { struct tinst_level *lev = current_tinst_level; int errs = errorcount + sorrycount; @@ -7565,7 +7565,7 @@ push_tinst_level (tree d) /* If the current instantiation caused problems, don't let it instantiate anything else. Do allow deduction substitution and decls usable in constant expressions. */ - if (limit_bad_template_recurson (d)) + if (limit_bad_template_recursion (d)) return 0; new_level = ggc_alloc_tinst_level ();