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
59a13e0f
Commit
59a13e0f
authored
Aug 07, 2001
by
Jason Merrill
Committed by
Jason Merrill
Aug 07, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.c (walk_tree): Walk siblings even if !walk_subtrees.
From-SVN: r44686
parent
57cf57fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
gcc/cp/ChangeLog
+5
-1
gcc/cp/tree.c
+9
-3
No files found.
gcc/cp/ChangeLog
View file @
59a13e0f
2001-08-07 Jason Merrill <jason_merrill@redhat.com>
* tree.c (walk_tree): Walk siblings even if !walk_subtrees.
2001-08-06 Richard Henderson <rth@redhat.com>
* decl2.c (finish_objects): Pass a symbol_ref and priority to
...
...
@@ -140,7 +144,7 @@
declaring a function, and create last_function_parms correctly.
2001-07-25 Jason Merrill <jason_merrill@redhat.com>
* call.c (joust): Only prefer a non-builtin candidate to a builtin
one if they have the same signature.
...
...
gcc/cp/tree.c
View file @
59a13e0f
...
...
@@ -1198,12 +1198,18 @@ walk_tree (tp, func, data, htab)
if
(
result
)
return
result
;
code
=
TREE_CODE
(
*
tp
);
/* Even if we didn't, FUNC may have decided that there was nothing
interesting below this point in the tree. */
if
(
!
walk_subtrees
)
return
NULL_TREE
;
code
=
TREE_CODE
(
*
tp
);
{
if
(
statement_code_p
(
code
)
||
code
==
TREE_LIST
||
code
==
OVERLOAD
)
/* But we still need to check our siblings. */
return
walk_tree
(
&
TREE_CHAIN
(
*
tp
),
func
,
data
,
htab
);
else
return
NULL_TREE
;
}
/* Handle common cases up front. */
if
(
IS_EXPR_CODE_CLASS
(
TREE_CODE_CLASS
(
code
))
...
...
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