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
2ee1067b
Commit
2ee1067b
authored
Jul 18, 2003
by
Jan Hubicka
Committed by
Jan Hubicka
Jul 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cgraph.c (cgraph_remove_node): Clear the hash table slot.
From-SVN: r69562
parent
580e7bf3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
gcc/ChangeLog
+4
-0
gcc/cgraph.c
+6
-0
No files found.
gcc/ChangeLog
View file @
2ee1067b
Fri Jul 18 17:05:57 CEST 2003 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_remove_node): Clear the hash table slot.
2003-07-17 Jakub Jelinek <jakub@redhat.com>
PR target/11087
...
...
gcc/cgraph.c
View file @
2ee1067b
...
...
@@ -204,6 +204,7 @@ cgraph_remove_edge (struct cgraph_node *caller, struct cgraph_node *callee)
void
cgraph_remove_node
(
struct
cgraph_node
*
node
)
{
void
**
slot
;
while
(
node
->
callers
)
cgraph_remove_edge
(
node
->
callers
->
caller
,
node
);
while
(
node
->
callees
)
...
...
@@ -225,6 +226,11 @@ cgraph_remove_node (struct cgraph_node *node)
if
(
node
->
next
)
node
->
next
->
previous
=
node
->
previous
;
DECL_SAVED_TREE
(
node
->
decl
)
=
NULL
;
slot
=
htab_find_slot_with_hash
(
cgraph_hash
,
DECL_ASSEMBLER_NAME
(
node
->
decl
),
IDENTIFIER_HASH_VALUE
(
DECL_ASSEMBLER_NAME
(
node
->
decl
)),
1
);
htab_clear_slot
(
cgraph_hash
,
slot
);
/* Do not free the structure itself so the walk over chain can continue. */
}
...
...
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