* cfg.c (dump_flow_info): Print bb->index, not i, for block number.

From-SVN: r53961
This commit is contained in:
Richard Henderson 2002-05-28 12:58:15 -07:00 committed by Richard Henderson
parent 6ff14f32f3
commit 04653686e7
2 changed files with 5 additions and 1 deletions

View 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.

View File

@ -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);