* cfg.c (dump_flow_info): Print bb->index, not i, for block number.
authorRichard Henderson <rth@redhat.com>
Tue, 28 May 2002 19:58:15 +0000 (12:58 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 28 May 2002 19:58:15 +0000 (12:58 -0700)
From-SVN: r53961

gcc/ChangeLog
gcc/cfg.c

index a08053e06521d8f805e0a474f3a882f5f12b1d74..aadf49756372d9b91d0054713c340f60fdb40178 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-28  Richard Henderson  <rth@redhat.com>
+
+       * cfg.c (dump_flow_info): Print bb->index, not i, for block number.
+
 2002-05-28  Zack Weinberg  <zack@codesourcery.com>
 
        * tree.h: Forward-declare struct realvaluetype.
index 313516b32fa1c7fc6129b71934c9612e4175f659..3e8c9488f27153792f7eee5fb3cb3a5f9278c5d9 100644 (file)
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -553,7 +553,7 @@ dump_flow_info (file)
       gcov_type lsum;
 
       fprintf (file, "\nBasic block %d: first insn %d, last %d, ",
-              i, INSN_UID (bb->head), INSN_UID (bb->end));
+              bb->index, INSN_UID (bb->head), INSN_UID (bb->end));
       fprintf (file, "prev %d, next %d, ",
               bb->prev_bb->index, bb->next_bb->index);
       fprintf (file, "loop_depth %d, count ", bb->loop_depth);