re PR target/36780 (Wrong reload generated for subreg address on SH)
authorKaz Kojima <kkojima@gcc.gnu.org>
Tue, 15 Jul 2008 13:06:32 +0000 (13:06 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Tue, 15 Jul 2008 13:06:32 +0000 (13:06 +0000)
commit96c72efecd3d87a178da3ee4b4d0eff5f83f833c
tree2c23d2b0d8b41f149ef369aec20ebaa7c9ce0fa3
parentcb8cc791fdc4912ebf3cbe935f7912569e4e6ac3
re PR target/36780 (Wrong reload generated for subreg address on SH)

PR target/36780
* config/sh/sh.h (GO_IF_LEGITIMATE_ADDRESS): Allow
(plus (plus (reg) (const_int)) (const_int)) when reload_in_progress.

From-SVN: r137838
gcc/ChangeLog
gcc/config/sh/sh.h