From: Jan Hubicka Date: Sat, 1 Jul 2017 07:44:45 +0000 (+0200) Subject: sel-sched-ir.c (compute_succs_info): Handle uninitialized probabilities consistently. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3904572beee69258ebd87adbc16b17e3228da35f;p=gcc.git sel-sched-ir.c (compute_succs_info): Handle uninitialized probabilities consistently. * sel-sched-ir.c (compute_succs_info): Handle uninitialized probabilities consistently. From-SVN: r249863 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1df0a7166b7..525c2c4b93f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-06-29 Jan Hubicka + + * sel-sched-ir.c (compute_succs_info): Handle uninitialized + probabilities consistently. + 2017-06-29 Jan Hubicka * pa.c (pa_expand_compare_and_swap_loop): Update call of diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c index dd72828795d..e78d30999a8 100644 --- a/gcc/sel-sched-ir.c +++ b/gcc/sel-sched-ir.c @@ -4749,7 +4749,7 @@ compute_succs_info (insn_t insn, short flags) inner loop to exits. */ si.bb_end && si.e1->probability.initialized_p () ? si.e1->probability.to_reg_br_prob_base () - : REG_BR_PROB_BASE); + : 0); sinfo->succs_ok_n++; } else