lra: Don't remove the scratch in (mem:BLK (scratch))
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 29 Oct 2015 19:24:48 +0000 (20:24 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 29 Oct 2015 19:24:48 +0000 (20:24 +0100)
commit823bb05499a9f5bc0fc450ca21b17f16b65e6f00
treefbc4bbbd9b64d127f2a42db6ce1e8d6038f2e6d1
parent0bb7645daa5ad298b195f8a79410620cdd99eacc
lra: Don't remove the scratch in (mem:BLK (scratch))

LRA wants to replace SCRATCH registers with real registers.  It should
not do that with (mem:BLK (scratch)), which is special, not really a
scratch register.

2015-10-29  Segher Boessenkool  <segher@kernel.crashing.org>

* lra-constraints.c (process_address_1): Handle (mem:BLK (scratch))
by ignoring it.

From-SVN: r229551
gcc/ChangeLog
gcc/lra-constraints.c