This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: bug in `find_equiv_reg' and patch
- To: Denis Chertykov <denisc at overta dot ru>
- Subject: Re: bug in `find_equiv_reg' and patch
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 21 Apr 2000 13:50:47 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <200004161922.XAA12062@tigris.overta.ru>you write:
>
> I founded bug in reload.c:find_equiv_reg.
> find_equiv_reg check only first register of valueno and regno as a
> call-clobbered register.
> It's a bug if nregs or valuenregs > 1.
> This bug actual for avr port.
>
>
> Sun Apr 16 23:11:33 2000 Denis Chertykov <denisc@overta.ru>
>
> * reload.c (find_equiv_reg): Checks all valueno and regno regs
> as a call-clobbered regs.
Based on Bernd & Richard's comments, I went ahead and checked in this patch.
Thanks!
jeff