From 1dc3d6e9e10ae9260484c0e2009c360a7ab0cc19 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Wed, 8 May 2013 17:05:59 +0000 Subject: gimple-ssa-strength-reduction.c (count_candidates): Change return value to int. 2013-05-08 Bill Schmidt * 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 | 6 ++++++ gcc/gimple-ssa-strength-reduction.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa0274f..28a7262 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-05-08 Bill Schmidt + + * 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 * config/i386/sse.md (PEXTR_MODE, PEXTR_MODEx): Remove. diff --git a/gcc/gimple-ssa-strength-reduction.c b/gcc/gimple-ssa-strength-reduction.c index 650ea19..dcd3180 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; -- cgit v1.1