diff options
Diffstat (limited to 'gcc/tree-outof-ssa.c')
-rw-r--r-- | gcc/tree-outof-ssa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c index e5a35f40550..87ccb214167 100644 --- a/gcc/tree-outof-ssa.c +++ b/gcc/tree-outof-ssa.c @@ -403,7 +403,7 @@ elim_graph_add_node (elim_graph g, int node) int x; int t; - for (x = 0; VEC_iterate (int, g->nodes, x, t); x++) + FOR_EACH_VEC_ELT (int, g->nodes, x, t) if (t == node) return; VEC_safe_push (int, heap, g->nodes, node); @@ -678,7 +678,7 @@ eliminate_phi (edge e, elim_graph g) sbitmap_zero (g->visited); VEC_truncate (int, g->stack, 0); - for (x = 0; VEC_iterate (int, g->nodes, x, part); x++) + FOR_EACH_VEC_ELT (int, g->nodes, x, part) { if (!TEST_BIT (g->visited, part)) elim_forward (g, part); |