PR rtl-optimization/44787
commit6b163369b75dd6d1d6b054127aa98ab3aaf9fa88
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jul 2010 23:44:55 +0000 (6 23:44 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jul 2010 23:44:55 +0000 (6 23:44 +0000)
treeed80adf1d983be206d71c3ae45f5eb3b1e8d0444
parent1dd026706440d251fc8d1871ec39d53413232c21
PR rtl-optimization/44787
* config/arm/arm.md (arith_shiftsi): Allow stack pointer in operand 2.
* config/arm/thumb2.md (thumb2_arith_shiftsi): Likewise.

testsuite/
PR rtl-optimization/44787
* gcc.c-torture/compile/pr44788.c: New test.
* gcc.target/arm/pr44788.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161893 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.md
gcc/config/arm/thumb2.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr44788.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/pr44788.c [new file with mode: 0644]