From 38ab02dbdc0bb4488a9419dfd7e3e17b799b9710 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 12 Jul 2011 17:24:43 -0400 Subject: [PATCH] s/recurson/recursion/ From-SVN: r176217 --- gcc/cp/pt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (); -- 2.30.2