OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Sep 2006 06:30:59 +0000 (06:30 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Sep 2006 06:30:59 +0000 (06:30 +0000)
commit23c79c0fa4febbb3bfc0c563eab73da376fb6bb0
tree2aa34947dc3602c792429dc6db53537ff293ce74
parentdd7bdc90dd5dbf42fd13035619e0b8e3195d7623
gcc/
PR rtl-optimization/28982
* reload.c (find_reloads_address_1): Use RELOAD_OTHER for the
index of a PRE_MODIFY or POST_MODIFY address.
* reload1.c (inc_for_reload): Use find_replacement on the original
base and index registers.

gcc/testsuite/
PR rtl-optimization/28982
* gcc.c-torture/execute/pr28982a.c: New test.
* gcc.c-torture/execute/pr28982b.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116919 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/reload.c
gcc/reload1.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr28982a.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/pr28982b.c [new file with mode: 0644]