diff options
author | Jan Hubicka <jh@suse.cz> | 2003-07-02 02:17:38 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-07-02 00:17:38 +0000 |
commit | 8bd87c4e73fef41cbbd1c7dd722e0a590ff1111c (patch) | |
tree | 3136e42f99188647a6b9586d69209b69f95f0c02 /gcc/cgraphunit.c | |
parent | d6435621b2bc4ca2f3664172c1464def4b2a9a4f (diff) | |
download | gcc-8bd87c4e73fef41cbbd1c7dd722e0a590ff1111c.zip gcc-8bd87c4e73fef41cbbd1c7dd722e0a590ff1111c.tar.gz gcc-8bd87c4e73fef41cbbd1c7dd722e0a590ff1111c.tar.bz2 |
cgraph.c (cgraph_mark_needed_node, [...]): Use next_needed field instead of aux to maintain the queue.
* 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.
From-SVN: r68807
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 75eae99..f9e2ff6 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 (); |