diff options
Diffstat (limited to 'gcc/tree-into-ssa.c')
-rw-r--r-- | gcc/tree-into-ssa.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c index e7c4eca..948398c 100644 --- a/gcc/tree-into-ssa.c +++ b/gcc/tree-into-ssa.c @@ -960,11 +960,10 @@ prune_unused_phi_nodes (bitmap phis, bitmap kills, bitmap uses) } /* If the phi node is already live, there is nothing to do. */ - if (bitmap_bit_p (live_phis, p)) + if (!bitmap_set_bit (live_phis, p)) continue; - /* Mark the phi as live, and add the new uses to the worklist. */ - bitmap_set_bit (live_phis, p); + /* Add the new uses to the worklist. */ def_bb = BASIC_BLOCK (p); FOR_EACH_EDGE (e, ei, def_bb->preds) { |