diff options
author | Steve Ellcey <sje@cup.hp.com> | 2007-02-24 00:11:39 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2007-02-24 00:11:39 +0000 |
commit | a615f803e4a1d556babb3892fc7c8be56b0592e7 (patch) | |
tree | 19f7d5bb07f5fa02a823b40ea1a8b343f010ad6c /gcc | |
parent | c0c424e4abeaf645c6646cf32fc11592ba145288 (diff) | |
download | gcc-a615f803e4a1d556babb3892fc7c8be56b0592e7.zip gcc-a615f803e4a1d556babb3892fc7c8be56b0592e7.tar.gz gcc-a615f803e4a1d556babb3892fc7c8be56b0592e7.tar.bz2 |
re PR debug/29614 (DWARF information for function static variable is missing after unrelated code addition)
PR debug/29614
* varpool.c (varpool_assemble_pending_decls): Set
varpool_last_needed_node to null.
From-SVN: r122277
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; } |