[ARM] Fix arm bootstrap failure due to -Werror=shift-negative-value
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 15 Sep 2015 15:03:23 +0000 (15:03 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 15 Sep 2015 15:03:23 +0000 (15:03 +0000)
commit78dc36f80a034a74d7ebd82cefa3dffa3b1c66c7
tree5ef6f2b6daa52a0692612c68110c7bee274172ff
parent4f912f91a095e78dc69ff875de4aeb41188c0655
[ARM] Fix arm bootstrap failure due to -Werror=shift-negative-value

* config/arm/arm.c (arm_gen_constant): Use HOST_WIDE_INT_M1U instead
of -1 when shifting.  Change type of val to unsigned HOST_WIDE_INT.
Update prototype.

From-SVN: r227798
gcc/ChangeLog
gcc/config/arm/arm.c