re PR rtl-optimization/27661 (ICE in subst_reloads)
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 26 May 2006 20:21:53 +0000 (20:21 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Fri, 26 May 2006 20:21:53 +0000 (20:21 +0000)
commit7c7ce73aa7b6fece609d085e7ad265abf34e08f1
tree4aeaea82a057fcb7aa1fa27177beff021d57bea8
parentc539d4635bb0434bf7df202d2d403f5795e96865
re PR rtl-optimization/27661 (ICE in subst_reloads)

PR rtl-optimization/27661
* reload.c (find_reloads): When reloading a VOIDmode constant
as address due to an EXTRA_MEMORY_CONSTRAINT or 'o' constraint,
use Pmode as mode of the reload register.

PR rtl-optimization/27661
* gcc.dg/pr27661.c: New test case.

From-SVN: r114141
gcc/ChangeLog
gcc/reload.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr27661.c [new file with mode: 0644]