diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/varpool.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3fdbf78..cb4e098 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-02-23 Steve Ellcey <sje@cup.hp.com> + + PR debug/29614 + * varpool.c (varpool_assemble_pending_decls): Set + varpool_last_needed_node to null. + 2007-02-23 DJ Delorie <dj@redhat.com> * config/i386/i386.c (ix86_data_alignment): Don't specify an diff --git a/gcc/varpool.c b/gcc/varpool.c index 65c22d4..7791ada 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; } |
