From 77ba27b40be89dc62d53e569a1917d4f74b71b25 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 16 Jul 2017 18:30:40 +0200 Subject: [PATCH] tree-ssa-loop-unswitch.c (hoist_guard): Avoid use of REG_BR_PROB_BASE fixpoint arithmetics. * tree-ssa-loop-unswitch.c (hoist_guard): Avoid use of REG_BR_PROB_BASE fixpoint arithmetics. From-SVN: r250241 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-loop-unswitch.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f17ed1f..849de45 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2017-07-16 Jan Hubicka + * tree-ssa-loop-unswitch.c (hoist_guard): Avoid use of REG_BR_PROB_BASE + fixpoint arithmetics. + +2017-07-16 Jan Hubicka + * asan.c (create_cond_insert_point): Avoid use of REG_BR_PROB_BASE fixpoint arithmetics. diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index 8482be5..204cd0d 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -897,9 +897,7 @@ hoist_guard (struct loop *loop, edge guard) if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, " %i", bb->index); if (e->probability.initialized_p ()) - scale_bbs_frequencies_int (&bb, 1, - e->probability.to_reg_br_prob_base (), - REG_BR_PROB_BASE); + scale_bbs_frequencies (&bb, 1, e->probability); } } -- 2.7.4