PR target/27158
commit9f1a815aa3671f26dba0857df699eca9866db9ec
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 May 2006 21:09:49 +0000 (8 21:09 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 May 2006 21:09:49 +0000 (8 21:09 +0000)
treed279562bb2861a814d3e5dfb410f57178f971f5f
parent4eafbc2f8859a14279388474e4ce05f03e54cc80
PR target/27158
* reload.c (find_reloads_toplev): Only return the simplified SUBREG
of a reg_equiv_constant if the result is a legitimate constant.

* gcc.target/powerpc/pr27158.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113632 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/reload.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr27158.c [new file with mode: 0644]