From: Bill Schmidt Date: Wed, 8 May 2013 17:05:59 +0000 (+0000) Subject: gimple-ssa-strength-reduction.c (count_candidates): Change return value to int. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1dc3d6e9e10ae9260484c0e2009c360a7ab0cc19;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa0274f32aa..28a72627ecb 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 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;