From 5de3524042e0d20785518da4f740ace609c2eae4 Mon Sep 17 00:00:00 2001 From: Andrew Stubbs Date: Tue, 30 Aug 2011 15:02:26 +0000 Subject: [PATCH] arm.c (optimal_immediate_sequence_1): Make b1, b2, b3 and b4 unsigned. 2011-08-30 Andrew Stubbs gcc/ * config/arm/arm.c (optimal_immediate_sequence_1): Make b1, b2, b3 and b4 unsigned. From-SVN: r178324 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0fcf494990e..911c9ec8c3c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-30 Andrew Stubbs + + * config/arm/arm.c (optimal_immediate_sequence_1): Make b1, b2, + b3 and b4 unsigned. + 2011-08-30 Andrew Stubbs * config/arm/arm.c (arm_gen_constant): Set can_negate correctly diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 3a49f40906c..00479692bd2 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -2624,7 +2624,7 @@ optimal_immediate_sequence_1 (enum rtx_code code, unsigned HOST_WIDE_INT val, do { int end; - int b1, b2, b3, b4; + unsigned int b1, b2, b3, b4; unsigned HOST_WIDE_INT result; int loc; -- 2.30.2