diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-02 00:17:38 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-02 00:17:38 +0000 |
commit | d87976fbdef32e4ea147f23f38193a0aa14702bb (patch) | |
tree | 3136e42f99188647a6b9586d69209b69f95f0c02 /gcc/cgraphunit.c | |
parent | 91d4127b9fd846619eadf1bddf0c076fd316a0f6 (diff) | |
download | gcc-d87976fbdef32e4ea147f23f38193a0aa14702bb.tar.gz |
* cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
Use next_needed field instead of aux to maintain the queue.
* cgraph.h (cgraph_node): Add next_needed.
(cgraph_varpool_node): Add next_needed; remove aux.
* cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68807 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 75eae991d95..f9e2ff6c2f8 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -157,7 +157,7 @@ cgraph_finalize_compilation_unit () tree decl = cgraph_nodes_queue->decl; node = cgraph_nodes_queue; - cgraph_nodes_queue = cgraph_nodes_queue->aux; + cgraph_nodes_queue = cgraph_nodes_queue->next_needed; if (node->lowered || !node->reachable || !DECL_SAVED_TREE (decl)) abort (); |