diff options
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r-- | gcc/gimple.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c index 7bc87bc34ee..e9e38785cc2 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -2748,11 +2748,7 @@ preprocess_case_label_vec_for_gimple (vec<tree> labels, low = CASE_HIGH (labels[i - 1]); if (!low) low = CASE_LOW (labels[i - 1]); - if ((TREE_INT_CST_LOW (low) + 1 - != TREE_INT_CST_LOW (high)) - || (TREE_INT_CST_HIGH (low) - + (TREE_INT_CST_LOW (high) == 0) - != TREE_INT_CST_HIGH (high))) + if (wi::add (low, 1) != high) break; } if (i == len) |