diff options
Diffstat (limited to 'gcc/conflict.c')
-rw-r--r-- | gcc/conflict.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/conflict.c b/gcc/conflict.c index d1fb1293cf9..e2c28414d82 100644 --- a/gcc/conflict.c +++ b/gcc/conflict.c @@ -447,19 +447,18 @@ conflict_graph_compute (regs, p) regset regs; partition p; { - int b; conflict_graph graph = conflict_graph_new (max_reg_num ()); regset_head live_head; regset live = &live_head; regset_head born_head; regset born = &born_head; + basic_block bb; INIT_REG_SET (live); INIT_REG_SET (born); - for (b = n_basic_blocks; --b >= 0; ) + FOR_EACH_BB_REVERSE (bb) { - basic_block bb = BASIC_BLOCK (b); rtx insn; rtx head; |