re PR rtl-optimization/49114 ([x32] Reload failed to handle (set reg:X (plus:X (subre...
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 29 Jun 2011 12:15:08 +0000 (12:15 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 29 Jun 2011 12:15:08 +0000 (12:15 +0000)
commitf3678bfb504a9787fda6b560f15c6192a8597387
treeadb0058892895b52648b4cc0ff77c056f048b5ad
parent433ba0a57b5be5a1292122405c0b928e1223c37d
re PR rtl-optimization/49114 ([x32] Reload failed to handle (set reg:X (plus:X (subreg:X (reg:Y) 0) (const_int))))

PR rtl-optimization/49114
* reload.c (struct replacement): Remove SUBREG_LOC member.
(push_reload): Do not set it.
(push_replacement): Likewise.
(subst_reload): Remove dead code.
(copy_replacements): Remove assertion.
(copy_replacements_1): Do not handle SUBREG_LOC.
(move_replacements): Likewise.
(find_replacement): Remove dead code.  Use reload_adjust_reg_for_mode.
Detect subregs via recursive descent instead of via SUBREG_LOC.

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