This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch cfgloop.c fix typo.
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Graham Stott <grahams at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 19 Jan 2002 13:06:28 -0800
- Subject: Re: patch cfgloop.c fix typo.
- References: <3C494A73.1FD71A02@redhat.com>
Graham Stott <grahams@redhat.com> writes:
> All,
>
> This patch fixes an obvious typo.
>
> Bootstrapped i686-pc-linux-gnu, all languages, no regressions.
This is OK.
> 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
> -------------------------------------------------------------------
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>