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]

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
-------------------------------------------------------------------


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