aboutsummaryrefslogtreecommitdiff
path: root/gcc/wide-int-range.h
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2018-10-17 12:32:08 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2018-10-17 12:32:08 +0000
commite8f1d5cb7c9fdf367a11bd939aac73d4e85265e5 (patch)
tree7fdee50baaa6717bb3b591b17a353c31b9151921 /gcc/wide-int-range.h
parentfa6b20f32c28aa34efc3c0ab609303d8371b57dd (diff)
downloadgcc-e8f1d5cb7c9fdf367a11bd939aac73d4e85265e5.zip
gcc-e8f1d5cb7c9fdf367a11bd939aac73d4e85265e5.tar.gz
gcc-e8f1d5cb7c9fdf367a11bd939aac73d4e85265e5.tar.bz2
tree-vrp.c (extract_range_from_multiplicative_op): Remove overflow wraps argument.
* tree-vrp.c (extract_range_from_multiplicative_op): Remove overflow wraps argument. (extract_range_from_binary_expr_1): Do not pass overflow wraps to wide_int_range_multiplicative_op. * wide-int-range.cc (wide_int_range_mult_wrapping): Remove overflow wraps argument. (wide_int_range_multiplicative_op): Same. (wide_int_range_lshift): Same. (wide_int_range_div): Same. * wide-int-range.h (wide_int_range_multiplicative_op): Same. (wide_int_range_lshift): Same. (wide_int_range_div): Same. From-SVN: r265238
Diffstat (limited to 'gcc/wide-int-range.h')
-rw-r--r--gcc/wide-int-range.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/wide-int-range.h b/gcc/wide-int-range.h
index 0b2dd22..961d26d 100644
--- a/gcc/wide-int-range.h
+++ b/gcc/wide-int-range.h
@@ -42,14 +42,12 @@ extern bool wide_int_range_multiplicative_op (wide_int &res_lb,
const wide_int &vr0_ub,
const wide_int &vr1_lb,
const wide_int &vr1_ub,
- bool overflow_undefined,
- bool overflow_wraps);
+ bool overflow_undefined);
extern bool wide_int_range_lshift (wide_int &res_lb, wide_int &res_ub,
signop sign, unsigned prec,
const wide_int &, const wide_int &,
const wide_int &, const wide_int &,
- bool overflow_undefined,
- bool overflow_wraps);
+ bool overflow_undefined);
extern void wide_int_range_set_zero_nonzero_bits (signop,
const wide_int &lb,
const wide_int &ub,
@@ -124,7 +122,6 @@ extern bool wide_int_range_div (wide_int &wmin, wide_int &wmax,
const wide_int &divisor_min,
const wide_int &divisor_max,
bool overflow_undefined,
- bool overflow_wraps,
bool &extra_range_p,
wide_int &extra_min, wide_int &extra_max);