diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-24 00:11:39 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-24 00:11:39 +0000 |
commit | 11cc227f55cc657aa83852e7c3592db2a2e2d91b (patch) | |
tree | 19f7d5bb07f5fa02a823b40ea1a8b343f010ad6c /gcc/varpool.c | |
parent | 3fb4295346cbc9e95e3af2596335f24e6082ea28 (diff) | |
download | gcc-11cc227f55cc657aa83852e7c3592db2a2e2d91b.tar.gz |
PR debug/29614
* varpool.c (varpool_assemble_pending_decls): Set
varpool_last_needed_node to null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122277 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r-- | gcc/varpool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c index 65c22d491b4..7791ada4bc3 100644 --- a/gcc/varpool.c +++ b/gcc/varpool.c @@ -430,6 +430,9 @@ varpool_assemble_pending_decls (void) else node->next_needed = NULL; } + /* varpool_nodes_queue is now empty, clear the pointer to the last element + in the queue. */ + varpool_last_needed_node = NULL; return changed; } |