diff options
Diffstat (limited to 'gcc/stmt.cc')
-rw-r--r-- | gcc/stmt.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/stmt.cc b/gcc/stmt.cc index ea78a50..11cc70f 100644 --- a/gcc/stmt.cc +++ b/gcc/stmt.cc @@ -822,9 +822,8 @@ emit_case_dispatch_table (tree index_expr, tree index_type, through the indirect jump or the direct conditional jump before that. Split the probability of reaching the default label among these two jumps. */ - new_default_prob - = conditional_probability (default_prob.apply_scale (1, 2), base); - default_prob = default_prob.apply_scale (1, 2); + new_default_prob = conditional_probability (default_prob / 2, base); + default_prob /= 2; base -= default_prob; } else |