This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: block numbering fallout
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 28 May 2002 22:32:33 +0200
- Subject: Re: block numbering fallout
- References: <20020528125833.A14335@redhat.com>
Hello.
> * cfg.c (dump_flow_info): Print bb->index, not i, for block number.
The same here:
Zdenek
* cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
Index: cfgloop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgloop.c,v
retrieving revision 1.11
diff -c -3 -p -r1.11 cfgloop.c
*** cfgloop.c 27 May 2002 13:45:11 -0000 1.11
--- cfgloop.c 28 May 2002 20:30:30 -0000
*************** flow_loops_cfg_dump (loops, file)
*** 62,68 ****
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);
}
/* Dump the DFS node order. */
--- 62,68 ----
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[bb->index], file);
}
/* Dump the DFS node order. */