This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, RELOAD] Don't assume subreg mem address is ok
- From: Alan Modra <amodra at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Ulrich Weigand <uweigand at de dot ibm dot com>, Bernd Schmidt <bschmidt at redhat dot com>
- Date: Mon, 8 Aug 2016 12:55:59 +0930
- Subject: Re: [PATCH, RELOAD] Don't assume subreg mem address is ok
- Authentication-results: sourceware.org; auth=none
- References: <20160808024318.GX20904@bubble.grove.modra.org>
On Mon, Aug 08, 2016 at 12:13:18PM +0930, Alan Modra wrote:
> This patch fixes a case where reload blindly assumes a subreg mem
> is OK if its address has been partially reloaded by
> legitimize_reload_address. The change ought to be fairly obvious
> considering that the analogous non-subreg case only gives a win to
> address_reloaded[i] == 1. Bootstrapped and regression tested
> powerpc64le-linux using
> RUNTESTFLAGS="--target_board=unix'{-mlra,-mno-lra}'"
> to run the testsuite using both lra and reload. OK for mainline
> and active branches?
When I look at the correct bootstrap I see I have some regressions.
Sorry for the noise, patch withdrawn.
--
Alan Modra
Australia Development Lab, IBM