predict.c (set_even_probabilities): Make nedges unsigned.

2016-07-27  Richard Biener  <rguenther@suse.de>

	* predict.c (set_even_probabilities): Make nedges unsigned.

From-SVN: r238782
This commit is contained in:
Richard Biener 2016-07-27 10:33:02 +00:00 committed by Richard Biener
parent 5d9da222b9
commit 5693aed094
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-07-27 Richard Biener <rguenther@suse.de>
* predict.c (set_even_probabilities): Make nedges unsigned.
2016-07-27 Martin Liska <mliska@suse.cz>
* predict.c (set_even_probabilities): Handle unlikely edges.

View File

@ -793,7 +793,7 @@ static void
set_even_probabilities (basic_block bb,
hash_set<edge> *unlikely_edges = NULL)
{
int nedges = 0;
unsigned nedges = 0;
edge e;
edge_iterator ei;