reload.c (find_reloads_subreg_address): Remove FORCE_REPLACE parameter.
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 16 Oct 2012 13:26:31 +0000 (13:26 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Tue, 16 Oct 2012 13:26:31 +0000 (13:26 +0000)
commit80de67b8059a3df4ef55dd2837a69bc4b0bc26f2
tree41102d1f4e271cf836121d253092c752e162bdd0
parent16e82b2535b1dce10bd48175b11350b3301e6064
reload.c (find_reloads_subreg_address): Remove FORCE_REPLACE parameter.

* reload.c (find_reloads_subreg_address): Remove FORCE_REPLACE
parameter.  Always replace normal subreg with memory reference
whenever possible.  Return NULL otherwise.
(find_reloads_toplev): Always call find_reloads_subreg_address
for subregs of registers equivalent to a memory location.
Only recurse further if find_reloads_subreg_address fails.
(find_reloads_address_1): Only call find_reloads_subreg_address
for subregs of registers equivalent to a memory location.
Properly handle failure of find_reloads_subreg_address.

From-SVN: r192499
gcc/ChangeLog
gcc/reload.c