predict.c (test_prediction_value_range): Use PROB_UNINITIALIZED instead of -1U in last predictors element's probability...

* predict.c (test_prediction_value_range): Use PROB_UNINITIALIZED
	instead of -1U in last predictors element's probability member.

From-SVN: r258136
This commit is contained in:
Jakub Jelinek 2018-03-02 16:10:10 +01:00 committed by Jakub Jelinek
parent 2265b6fed1
commit 3458c61f6c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-03-02 Jakub Jelinek <jakub@redhat.com>
* predict.c (test_prediction_value_range): Use PROB_UNINITIALIZED
instead of -1U in last predictors element's probability member.
2018-03-02 Eric Botcazou <ebotcazou@adacore.com>
PR ipa/83983

View File

@ -4204,7 +4204,7 @@ test_prediction_value_range ()
{
branch_predictor predictors[] = {
#include "predict.def"
{NULL, -1U}
{ NULL, PROB_UNINITIALIZED }
};
for (unsigned i = 0; predictors[i].name != NULL; i++)