]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm.c (optimal_immediate_sequence_1): Make b1, b2, b3 and b4 unsigned.
authorAndrew Stubbs <ams@codesourcery.com>
Tue, 30 Aug 2011 15:02:26 +0000 (15:02 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Tue, 30 Aug 2011 15:02:26 +0000 (15:02 +0000)
2011-08-30  Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/arm/arm.c (optimal_immediate_sequence_1): Make b1, b2,
b3 and b4 unsigned.

From-SVN: r178324

gcc/ChangeLog
gcc/config/arm/arm.c

index 0fcf494990e742c4c02140a06c6300e4ef426235..911c9ec8c3c785d5996bd2a26530f18e8bc1cd14 100644 (file)
@@ -1,3 +1,8 @@
+2011-08-30  Andrew Stubbs  <ams@codesourcery.com>
+
+       * config/arm/arm.c (optimal_immediate_sequence_1): Make b1, b2,
+       b3 and b4 unsigned.
+
 2011-08-30  Andrew Stubbs  <ams@codesourcery.com>
 
        * config/arm/arm.c (arm_gen_constant): Set can_negate correctly
index 3a49f40906c5c0e7975d43a444132d014a7462b6..00479692bd2c0593eecd0f68fd4c7729a345542b 100644 (file)
@@ -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;