This fixes ages old bug I noticed only now where switch cases, in situation
prediction is completely missing, gets all equal probability that should be
GUESSED instead of ADJUSTED.
gcc/ChangeLog:
* predict.cc (set_even_probabilities): Set quality to guessed.
if (unlikely_edges != NULL && unlikely_edges->contains (e))
e->probability = profile_probability::very_unlikely ();
else
- e->probability = all / scale;
+ e->probability = (all / scale).guessed ();
}
else
e->probability = profile_probability::never ();