From: Richard Biener Date: Wed, 27 Jul 2016 10:33:02 +0000 (+0000) Subject: predict.c (set_even_probabilities): Make nedges unsigned. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5693aed09427b490d0fb9f17d8b04fecf81d92bd;p=gcc.git predict.c (set_even_probabilities): Make nedges unsigned. 2016-07-27 Richard Biener * predict.c (set_even_probabilities): Make nedges unsigned. From-SVN: r238782 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4169007115a..e5aa7c76f8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-07-27 Richard Biener + + * predict.c (set_even_probabilities): Make nedges unsigned. + 2016-07-27 Martin Liska * predict.c (set_even_probabilities): Handle unlikely edges. diff --git a/gcc/predict.c b/gcc/predict.c index ca320cde68d..c1dbb96b8c5 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -793,7 +793,7 @@ static void set_even_probabilities (basic_block bb, hash_set *unlikely_edges = NULL) { - int nedges = 0; + unsigned nedges = 0; edge e; edge_iterator ei;