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]

cfgloop.c fix typos.


All,

This patch fixes a couple of typos.

bootstrapped i686-pc-linux-gnu all languages.

Graham

ChangeLog

	* cfgloop.c (flow_loop_entry_edges_find): Fix typo.
	(flow_loop_exit_edges_find): Likewise.

------------------------------------------------------------------
Index: cfgloop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgloop.c,v
retrieving revision 1.4
diff -c -p -r1.4 cfgloop.c
*** cfgloop.c   2001/12/24 15:44:45     1.4
--- cfgloop.c   2001/12/30 07:45:39
*************** flow_loop_entry_edges_find (header, node
*** 266,272 ****
    if (! num_entries)
      abort ();

!   *entry_edges = (edge *) xmalloc (num_entries * sizeof (edge *));

    num_entries = 0;
    for (e = header->pred; e; e = e->pred_next)
--- 266,272 ----
    if (! num_entries)
      abort ();

!   *entry_edges = (edge *) xmalloc (num_entries * sizeof (edge));

    num_entries = 0;
    for (e = header->pred; e; e = e->pred_next)
*************** flow_loop_exit_edges_find (nodes, exit_e
*** 313,319 ****
    if (! num_exits)
      return 0;

!   *exit_edges = (edge *) xmalloc (num_exits * sizeof (edge *));

    /* Store all exiting edges into an array.  */
    num_exits = 0;
--- 313,319 ----
    if (! num_exits)
      return 0;

!   *exit_edges = (edge *) xmalloc (num_exits * sizeof (edge));

    /* Store all exiting edges into an array.  */
    num_exits = 0;
----------------------------------------------------------------


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