summaryrefslogtreecommitdiff
path: root/gcc/varpool.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2007-11-02 15:29:09 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-11-02 15:29:09 +0000
commitf3a032e9285dfac0b5f62fc9da8e082f25b9538c (patch)
tree8239829f320e25ff53a6687fd3be3d369374de73 /gcc/varpool.c
parent10a6624ad69dfd612245deecbc1fcaee80d42e2c (diff)
downloadgcc-f3a032e9285dfac0b5f62fc9da8e082f25b9538c.tar.gz
varpool.c (dump_varpool): Use 'next', not 'next_needed' when traversing pool.
* varpool.c (dump_varpool): Use 'next', not 'next_needed' when traversing pool. From-SVN: r129851
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r--gcc/varpool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c
index 719f212cbf5..4149c1d1d21 100644
--- a/gcc/varpool.c
+++ b/gcc/varpool.c
@@ -58,7 +58,7 @@ struct varpool_node *varpool_nodes;
pointer.
LAST_NEEDED_NODE points to the end of queue, so it can be
- maintained in forward order. QTY is needed to make it friendly to
+ maintained in forward order. GTY is needed to make it friendly to
PCH.
During unit-at-a-time compilation we construct the queue of needed variables
@@ -159,7 +159,7 @@ dump_varpool (FILE *f)
struct varpool_node *node;
fprintf (f, "variable pool:\n\n");
- for (node = varpool_nodes; node; node = node->next_needed)
+ for (node = varpool_nodes; node; node = node->next)
dump_varpool_node (f, node);
}