This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
reload patch installed
- To: egcs-patches at cygnus dot com
- Subject: reload patch installed
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 01 Oct 1998 18:46:14 -0600
- Reply-To: law at cygnus dot com
I've installed this patch from Joern. It fixes a codegen problem exposed
by bootstrapping the PA port.
------- Forwarded Message
From: Joern Rennecke <amylaar@cygnus.co.uk>
To: law@cygnus.com
Date: Thu, 1 Oct 1998 14:19:00 +0100 (BST)
Subject: Re: reload problems
> We could back out the change in question and deal with it as part of the
> mega patch, or we could try and extract the precise fix we need from the
> reload mega patch and install the fix independently of the rest of the reload
> mega patch.
>
> Your choice.
Please try this patch:
Tue Sep 29 21:56:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was
copied from reload_out[r] .
*** reload1.c-1998092916 Tue Sep 29 16:25:21 1998
--- reload1.c Tue Sep 29 21:51:52 1998
*************** choose_reload_regs (insn, avoid_return_r
*** 6028,6033 ****
/* If find_reloads chose reload_out as reload
register, stay with it - that leaves the
inherited register for subsequent reloads. */
! || (reload_reg_rtx
&& rtx_equal_p (reload_out[r],
reload_reg_rtx[r])))
--- 6031,6036 ----
/* If find_reloads chose reload_out as reload
register, stay with it - that leaves the
inherited register for subsequent reloads. */
! || (reload_out[r] && reload_reg_rtx
&& rtx_equal_p (reload_out[r],
reload_reg_rtx[r])))
------- End of Forwarded Message