[ARM] PR target/64600 Fix another ICE with -mtune=xscale: properly sign-extend mask...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 13 Mar 2015 10:48:44 +0000 (10:48 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 13 Mar 2015 10:48:44 +0000 (10:48 +0000)
commit34f1d42665ab2b83863893ec90fe9e8b00a204f2
tree03f08c847be5f4df82b03259fef70dd3727660e1
parent7088e2b0e8c334ca346f88cc2b143d9db2c97fbf
[ARM] PR target/64600 Fix another ICE with -mtune=xscale: properly sign-extend mask during constant splitting

PR target/64600
* config/arm/arm.c (arm_gen_constant, AND case): Use
ARM_SIGN_EXTEND when constructing AND mask.

PR target/64600
* gcc.target/arm/pr64600_1.c: New test.

From-SVN: r221413
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr64600_1.c [new file with mode: 0644]