This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: simple bug in new-regalloc.c
- To: Denis Chertykov <denisc at overta dot ru>
- Subject: Re: simple bug in new-regalloc.c
- From: Daniel Berlin <dberlin at redhat dot com>
- Date: Sat, 3 Feb 2001 09:28:25 -0500 (EST)
- cc: <gcc-patches at gcc dot gnu dot org>, Daniel Berlin <dberlin at redhat dot com>
On Sat, 3 Feb 2001, Denis Chertykov wrote:
> Sat Feb 3 16:59:30 2001 Denis Chertykov <denisc@overta.ru>
>
> * new-regalloc.c (perform_new_regalloc_init): copy `initial' to
> `precolored'.
>
you mean "copy initial to move_candidates".
Otherwise correct.
Though i swear this is how it used to be, i must have killed the line
accidently.
> Index: new-regalloc.c
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/Attic/new-regalloc.c,v
> retrieving revision 1.1.2.13
> diff -c -3 -p -r1.1.2.13 new-regalloc.c
> *** new-regalloc.c 2001/02/03 03:25:03 1.1.2.13
> --- new-regalloc.c 2001/02/03 14:04:17
> *************** perform_new_regalloc_init ()
> *** 1646,1652 ****
> }
>
> move_candidates = BITMAP_XMALLOC ();
> !
> IOR_REG_SET (move_candidates, precolored);
>
> /* Process all the basic blocks. */
> --- 1646,1653 ----
> }
>
> move_candidates = BITMAP_XMALLOC ();
> !
> ! COPY_REG_SET (move_candidates, initial);
> IOR_REG_SET (move_candidates, precolored);
>
> /* Process all the basic blocks. */
>