summaryrefslogtreecommitdiff
path: root/gcc/gimple-ssa-strength-reduction.c
diff options
context:
space:
mode:
authorwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-08 17:05:59 +0000
committerwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-08 17:05:59 +0000
commitd873e825bf106265f7c0206a759e90810859982a (patch)
treeb0dafbc0bc7ecb7c09d4f15d22265f0d527f5a39 /gcc/gimple-ssa-strength-reduction.c
parent6fcb0ab53a21bdb8bac731f9dba18f1c565c4f5f (diff)
downloadgcc-d873e825bf106265f7c0206a759e90810859982a.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198715 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-ssa-strength-reduction.c')
-rw-r--r--gcc/gimple-ssa-strength-reduction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gimple-ssa-strength-reduction.c b/gcc/gimple-ssa-strength-reduction.c
index 650ea19d63f..dcd31809ab6 100644
--- a/gcc/gimple-ssa-strength-reduction.c
+++ b/gcc/gimple-ssa-strength-reduction.c
@@ -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;