Commit f8088d55 by Zdenek Dvorak Committed by Zdenek Dvorak

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

From-SVN: r53967
parent 0b7ae565
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> 2002-05-28 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (ix86_compute_frame_layout): Do not add * config/i386/i386.c (ix86_compute_frame_layout): Do not add
......
...@@ -62,7 +62,7 @@ flow_loops_cfg_dump (loops, file) ...@@ -62,7 +62,7 @@ flow_loops_cfg_dump (loops, file)
fprintf (file, ";; %d succs { ", bb->index); fprintf (file, ";; %d succs { ", bb->index);
for (succ = bb->succ; succ; succ = succ->succ_next) for (succ = bb->succ; succ; succ = succ->succ_next)
fprintf (file, "%d ", succ->dest->index); 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. */ /* Dump the DFS node order. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment