tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Avoid use of profile...
authorJan Hubicka <hubicka@ucw.cz>
Fri, 3 Jun 2016 17:00:19 +0000 (19:00 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 3 Jun 2016 17:00:19 +0000 (17:00 +0000)
commit641762ae264c86492d869d55559644e87ed36d46
tree77e01c3bfeb741c9d3244647bd9b356c05368d43
parent0d2f700f7be6780985b2cfd6bfca44523e058cbc
tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Avoid use of profile unless profile status is PROFILE_READ.

* tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Avoid
use of profile unless profile status is PROFILE_READ.
* profile.c (compute_branch_probabilities): Set profile status
only after reporting predictor hitrates.

From-SVN: r237076
gcc/ChangeLog
gcc/profile.c
gcc/tree-ssa-loop-niter.c