OSDN Git Service

PR debug/29614
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Feb 2007 00:11:39 +0000 (00:11 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Feb 2007 00:11:39 +0000 (00:11 +0000)
* 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

gcc/ChangeLog
gcc/varpool.c

index 3fdbf78..cb4e098 100644 (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
index 65c22d4..7791ada 100644 (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;
 }