Commit 38ab02db by Jason Merrill

s/recurson/recursion/

From-SVN: r176217
parent e84a58ff
...@@ -7515,7 +7515,7 @@ neglectable_inst_p (tree d) ...@@ -7515,7 +7515,7 @@ neglectable_inst_p (tree d)
neglectable and instantiated from within an erroneous instantiation. */ neglectable and instantiated from within an erroneous instantiation. */
static bool static bool
limit_bad_template_recurson (tree decl) limit_bad_template_recursion (tree decl)
{ {
struct tinst_level *lev = current_tinst_level; struct tinst_level *lev = current_tinst_level;
int errs = errorcount + sorrycount; int errs = errorcount + sorrycount;
...@@ -7565,7 +7565,7 @@ push_tinst_level (tree d) ...@@ -7565,7 +7565,7 @@ push_tinst_level (tree d)
/* If the current instantiation caused problems, don't let it instantiate /* If the current instantiation caused problems, don't let it instantiate
anything else. Do allow deduction substitution and decls usable in anything else. Do allow deduction substitution and decls usable in
constant expressions. */ constant expressions. */
if (limit_bad_template_recurson (d)) if (limit_bad_template_recursion (d))
return 0; return 0;
new_level = ggc_alloc_tinst_level (); new_level = ggc_alloc_tinst_level ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment