summaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-28 19:58:15 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-28 19:58:15 +0000
commit4034fd92efbbd49834fab2834c3c8fa6399e6957 (patch)
tree9dd97094ffff818a6c91d2b4843a07f147daadfe /gcc/cfg.c
parenta899dc6423930cce77f0f908a688ed35510a9ae8 (diff)
downloadgcc-4034fd92efbbd49834fab2834c3c8fa6399e6957.tar.gz
* cfg.c (dump_flow_info): Print bb->index, not i, for block number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53961 138bc75d-0d04-0410-961f-82ee72b054a4
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 313516b32fa..3e8c9488f27 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);