diff options
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 99d1f1e..b5e0460 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -1721,12 +1721,12 @@ group_case_labels_stmt (gswitch *stmt) { tree merge_case = gimple_switch_label (stmt, next_index); basic_block merge_bb = label_to_block (CASE_LABEL (merge_case)); - wide_int bhp1 = wi::add (base_high, 1); + wide_int bhp1 = wi::to_wide (base_high) + 1; /* Merge the cases if they jump to the same place, and their ranges are consecutive. */ if (merge_bb == base_bb - && wi::eq_p (CASE_LOW (merge_case), bhp1)) + && wi::to_wide (CASE_LOW (merge_case)) == bhp1) { base_high = CASE_HIGH (merge_case) ? CASE_HIGH (merge_case) : CASE_LOW (merge_case); |