This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: block numbering fallout


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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]