OSDN Git Service

2002-05-27 H.J. Lu (hjl@gnu.org)
[pf3gnuchains/gcc-fork.git] / gcc / recog.c
index adfef3b..1028745 100644 (file)
@@ -2733,7 +2733,7 @@ split_all_insns (upd_life)
   sbitmap_zero (blocks);
   changed = 0;
 
-  FOR_ALL_BB_REVERSE (bb)
+  FOR_EACH_BB_REVERSE (bb)
     {
       rtx insn, next;
       bool finish = false;
@@ -2755,7 +2755,7 @@ split_all_insns (upd_life)
 
              while (GET_CODE (last) == BARRIER)
                last = PREV_INSN (last);
-             SET_BIT (blocks, bb->sindex);
+             SET_BIT (blocks, bb->index);
              changed = 1;
              insn = last;
            }
@@ -3020,7 +3020,7 @@ peephole2_optimize (dump_file)
   count_or_remove_death_notes (NULL, 1);
 #endif
 
-  FOR_ALL_BB_REVERSE (bb)
+  FOR_EACH_BB_REVERSE (bb)
     {
       struct propagate_block_info *pbi;
 
@@ -3200,7 +3200,7 @@ peephole2_optimize (dump_file)
                     death data structures are not so self-contained.
                     So record that we've made a modification to this
                     block and update life information at the end.  */
-                 SET_BIT (blocks, b);
+                 SET_BIT (blocks, bb->index);
                  changed = true;
 
                  for (i = 0; i < MAX_INSNS_PER_PEEP2 + 1; ++i)