OSDN Git Service

Merge from pch-branch up to tag pch-commit-20020603.
[pf3gnuchains/gcc-fork.git] / gcc / conflict.c
index d1fb129..e2c2841 100644 (file)
@@ -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;