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
8052ea77
Commit
8052ea77
authored
Dec 27, 2012
by
Steven Bosscher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cgraph.c (verify_cgraph_node): Don't allocate/free visited_nodes set.
From-SVN: r194726
parent
4e766b5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
gcc/ChangeLog
+4
-0
gcc/cgraph.c
+0
-4
No files found.
gcc/ChangeLog
View file @
8052ea77
2012
-
12
-
27
Steven
Bosscher
<
steven
@gcc
.
gnu
.
org
>
*
cgraph
.
c
(
verify_cgraph_node
)
:
Don
'
t
allocate
/
free
visited_nodes
set
.
2012
-
12
-
25
John
David
Anglin
<
dave
.
anglin
@nrc
-
cnrc
.
gc
.
ca
>
2012
-
12
-
25
John
David
Anglin
<
dave
.
anglin
@nrc
-
cnrc
.
gc
.
ca
>
PR
target
/
53789
PR
target
/
53789
gcc/cgraph.c
View file @
8052ea77
...
@@ -2498,9 +2498,6 @@ verify_cgraph_node (struct cgraph_node *node)
...
@@ -2498,9 +2498,6 @@ verify_cgraph_node (struct cgraph_node *node)
{
{
if
(
this_cfun
->
cfg
)
if
(
this_cfun
->
cfg
)
{
{
/* The nodes we're interested in are never shared, so walk
the tree ignoring duplicates. */
struct
pointer_set_t
*
visited_nodes
=
pointer_set_create
();
/* Reach the trees by walking over the CFG, and note the
/* Reach the trees by walking over the CFG, and note the
enclosing basic-blocks in the call edges. */
enclosing basic-blocks in the call edges. */
FOR_EACH_BB_FN
(
this_block
,
this_cfun
)
FOR_EACH_BB_FN
(
this_block
,
this_cfun
)
...
@@ -2550,7 +2547,6 @@ verify_cgraph_node (struct cgraph_node *node)
...
@@ -2550,7 +2547,6 @@ verify_cgraph_node (struct cgraph_node *node)
}
}
}
}
}
}
pointer_set_destroy
(
visited_nodes
);
}
}
else
else
/* No CFG available?! */
/* No CFG available?! */
...
...
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