From: Jakub Jelinek Date: Fri, 2 Mar 2018 15:10:10 +0000 (+0100) Subject: predict.c (test_prediction_value_range): Use PROB_UNINITIALIZED instead of -1U in... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3458c61f6c864a67f736839af2b8b8308f66da81;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4649ffa4fd9..957d1528231 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-03-02 Jakub Jelinek + + * predict.c (test_prediction_value_range): Use PROB_UNINITIALIZED + instead of -1U in last predictors element's probability member. + 2018-03-02 Eric Botcazou PR ipa/83983 diff --git a/gcc/predict.c b/gcc/predict.c index 79ee71fac97..b40dec47822 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -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++)