diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2013-05-08 17:05:59 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2013-05-08 17:05:59 +0000 |
commit | 1dc3d6e9e10ae9260484c0e2009c360a7ab0cc19 (patch) | |
tree | b0dafbc0bc7ecb7c09d4f15d22265f0d527f5a39 | |
parent | b0cda57f7b46e378c17be14241ce3e7a96d1df24 (diff) | |
download | gcc-1dc3d6e9e10ae9260484c0e2009c360a7ab0cc19.zip gcc-1dc3d6e9e10ae9260484c0e2009c360a7ab0cc19.tar.gz gcc-1dc3d6e9e10ae9260484c0e2009c360a7ab0cc19.tar.bz2 |
gimple-ssa-strength-reduction.c (count_candidates): Change return value to int.
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/gimple-ssa-strength-reduction.c | 4 |
2 files changed, 8 insertions, 2 deletions
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 <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. 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; |