[PATCH, RELOAD] Don't assume subreg mem address is ok

Alan Modra amodra@gmail.com
Mon Aug 8 03:26:00 GMT 2016


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



More information about the Gcc-patches mailing list