aboutsummaryrefslogtreecommitdiff
path: root/gcc/regstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/regstat.c')
-rw-r--r--gcc/regstat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/regstat.c b/gcc/regstat.c
index cb4471b..abe6caf 100644
--- a/gcc/regstat.c
+++ b/gcc/regstat.c
@@ -308,10 +308,9 @@ regstat_bb_compute_ri (unsigned int bb_index,
REG_BASIC_BLOCK (uregno) = REG_BLOCK_GLOBAL;
}
- if (!bitmap_bit_p (live, uregno))
+ if (bitmap_set_bit (live, uregno))
{
/* This register is now live. */
- bitmap_set_bit (live, uregno);
/* If we have seen this regno, then it has already been
processed correctly with the per insn increment. If