[ARM] Fix PR 65955: Do not take REGNO on non-REG operand in movcond_addsi
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 12 May 2015 09:15:09 +0000 (09:15 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 12 May 2015 09:15:09 +0000 (09:15 +0000)
commit0d780006d49eadebc93e0b7ad4cd56a8d0eb3125
tree509f9acedc5da165af1aa15689bd23e7667532a1
parent8d1fe980a29ead0572d0bb451197a14b490adef3
[ARM] Fix PR 65955: Do not take REGNO on non-REG operand in movcond_addsi

PR target/65955
* config/arm/arm.md (movcond_addsi): Check that operands[2] is a
REG before taking its REGNO.

From-SVN: r223049
gcc/ChangeLog
gcc/config/arm/arm.md