diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2011-07-12 17:24:43 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-07-12 17:24:43 -0400 |
commit | 38ab02dbdc0bb4488a9419dfd7e3e17b799b9710 (patch) | |
tree | 834a0427c73e7a10a0e450ea35a256b3b7c48c81 /gcc/cp/pt.c | |
parent | e84a58ffbeb5c18a01e7a8daf9289618cb907f21 (diff) | |
download | gcc-38ab02dbdc0bb4488a9419dfd7e3e17b799b9710.zip gcc-38ab02dbdc0bb4488a9419dfd7e3e17b799b9710.tar.gz gcc-38ab02dbdc0bb4488a9419dfd7e3e17b799b9710.tar.bz2 |
s/recurson/recursion/
From-SVN: r176217
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 33b5b5f..893a4bf 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 (); |