gimple-ssa-strength-reduction.c (count_candidates): Change return value to int.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 8 May 2013 17:05:59 +0000 (17:05 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 8 May 2013 17:05:59 +0000 (17:05 +0000)
2013-05-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gimple-ssa-strength-reduction.c (count_candidates): Change
return value to int.
(analyze_candidates_and_replace): Change type of length to int.

From-SVN: r198715

gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c

index aa0274f32aab399c94a92495a2bc730346e267b6..28a72627ecbd90a7b66cc5bd51d7bf9a8ce1dac9 100644 (file)
@@ -1,3 +1,9 @@
+2013-05-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       * gimple-ssa-strength-reduction.c (count_candidates): Change
+       return value to int.
+       (analyze_candidates_and_replace): Change type of length to int.
+
 2013-05-08  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/sse.md (PEXTR_MODE, PEXTR_MODEx): Remove.
index 650ea19d63f88bfed32b6ba21b17f8212d643a02..dcd31809ab643fb135d4a5cbb12e1455866175d6 100644 (file)
@@ -2259,7 +2259,7 @@ replace_uncond_cands_and_profitable_phis (slsr_cand_t c)
 /* Count the number of candidates in the tree rooted at C that have
    not already been replaced under other interpretations.  */
 
-static unsigned
+static int
 count_candidates (slsr_cand_t c)
 {
   unsigned count = cand_already_replaced (c) ? 0 : 1;
@@ -3361,7 +3361,7 @@ analyze_candidates_and_replace (void)
         less expensive to calculate than the replaced statements.  */
       else
        {
-         unsigned length;
+         int length;
          enum machine_mode mode;
          bool speed;