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
This commit is contained in:
Steve Ellcey 2007-02-24 00:11:39 +00:00 committed by Steve Ellcey
parent c0c424e4ab
commit a615f803e4
2 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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;
}