Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
38ab02db
Commit
38ab02db
authored
Jul 12, 2011
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/recurson/recursion/
From-SVN: r176217
parent
e84a58ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/cp/pt.c
+2
-2
No files found.
gcc/cp/pt.c
View file @
38ab02db
...
@@ -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_recurs
i
on
(
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_recurs
i
on
(
d
))
return
0
;
return
0
;
new_level
=
ggc_alloc_tinst_level
();
new_level
=
ggc_alloc_tinst_level
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment