This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch cfgloop.c fix typo.
- From: Graham Stott <grahams at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 19 Jan 2002 10:29:07 +0000
- Subject: patch cfgloop.c fix typo.
All,
This patch fixes an obvious typo.
Bootstrapped i686-pc-linux-gnu, all languages, no regressions.
Graham
ChangeLog
* cfgloop.c (flow_loop_preheader_scan): Fix typo.
-------------------------------------------------------------------
Index: cfgloop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgloop.c,v
retrieving revision 1.5
diff -c -p -r1.5 cfgloop.c
*** cfgloop.c 2001/12/31 03:54:04 1.5
--- cfgloop.c 2002/01/19 10:16:19
*************** flow_loop_pre_header_scan (loop)
*** 414,420 ****
num++)
ebb = ebb->pred->src;
! loop->pre_header_edges = (edge *) xmalloc (num * sizeof (edge *));
loop->num_pre_header_edges = num;
/* Store edges in order that they are followed. The source of the first edge
--- 414,420 ----
num++)
ebb = ebb->pred->src;
! loop->pre_header_edges = (edge *) xmalloc (num * sizeof (edge));
loop->num_pre_header_edges = num;
/* Store edges in order that they are followed. The source of the first edge
-------------------------------------------------------------------