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]

Re: RFA: fix PR middle-end/23135


Joern RENNECKE wrote:
The problem is that the type of reload 0 is RELOAD_FOR_OUTADDR_ADDRESS,
which, in the absence of multiple RELOAD_FOR_OUTPUT_ADDRESS reloads,
does not conflict with an RELOAD_FOR_OUTPUT_ADDRESS reload.
find_reloads_toplev is always called with address_type[i] (or type from
direct recursion) for type, so ADDR_TYPE (type) is a *ADDR_ADDRESS type.
reload 0 should have the type RELOAD_FOR_OUTPUT_ADDRESS instead.  I've
changed that inadvertantly six years ago.

My brain hurts, but...


2005-07-27 J"orn Rennecke <joern.rennecke@st.com>

	* reload.c (find_reloads_subreg_address): Pass down TYPE
	unchanged.  Change all callers except find_reloads_toplev.

This seems ok (along with the testcase, although I wouldn't necessarily include the RTL dump in the comments).



Bernd



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