aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-05-28 12:58:15 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-05-28 12:58:15 -0700
commit04653686e741179a07c4b61824684b919352a0e1 (patch)
tree9dd97094ffff818a6c91d2b4843a07f147daadfe /gcc/cfg.c
parent6ff14f32f3284f2e2eebb16cae25710bd0d24620 (diff)
downloadgcc-04653686e741179a07c4b61824684b919352a0e1.zip
gcc-04653686e741179a07c4b61824684b919352a0e1.tar.gz
gcc-04653686e741179a07c4b61824684b919352a0e1.tar.bz2
* cfg.c (dump_flow_info): Print bb->index, not i, for block number.
From-SVN: r53961
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r--gcc/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index 313516b..3e8c948 100644
--- 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);