diff options
Diffstat (limited to 'gcc/tree-ssa-sink.cc')
-rw-r--r-- | gcc/tree-ssa-sink.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-ssa-sink.cc b/gcc/tree-ssa-sink.cc index 8ce4403..bb50cbc 100644 --- a/gcc/tree-ssa-sink.cc +++ b/gcc/tree-ssa-sink.cc @@ -230,8 +230,7 @@ select_best_block (basic_block early_bb, if (bb_loop_depth (best_bb) == bb_loop_depth (early_bb) /* If result of comparsion is unknown, prefer EARLY_BB. Thus use !(...>=..) rather than (...<...) */ - && !(best_bb->count.apply_scale (100, 1) - >= early_bb->count.apply_scale (threshold, 1))) + && !(best_bb->count * 100 >= early_bb->count * threshold)) return best_bb; /* No better block found, so return EARLY_BB, which happens to be the |