* cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.

From-SVN: r53967
This commit is contained in:
Zdenek Dvorak 2002-05-28 22:44:09 +02:00 committed by Zdenek Dvorak
parent 0b7ae56590
commit f8088d5581
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
2002-05-28 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (ix86_compute_frame_layout): Do not add

View File

@ -62,7 +62,7 @@ flow_loops_cfg_dump (loops, file)
fprintf (file, ";; %d succs { ", bb->index);
for (succ = bb->succ; succ; succ = succ->succ_next)
fprintf (file, "%d ", succ->dest->index);
flow_nodes_print ("} dom", loops->cfg.dom[i], file);
flow_nodes_print ("} dom", loops->cfg.dom[bb->index], file);
}
/* Dump the DFS node order. */