From: linden <[email protected]>
operator_div::wi_fold copied its four const-reference bound parameters
into locals only to give them clearer names. Give the parameters those
names instead and drop the copies; no functional change.
gcc/ChangeLog:
* range-op.cc (operator_div::wi_fold): Rename the bound
parameters to dividend_min, dividend_max, divisor_min and
divisor_max, and remove the local copies.
Signed-off-by: linden <[email protected]>
---
gcc/range-op.cc | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/gcc/range-op.cc b/gcc/range-op.cc
index da788182899c4..beecea6a8e706 100644
--- a/gcc/range-op.cc
+++ b/gcc/range-op.cc
@@ -2661,13 +2661,11 @@ operator_div::wi_op_overflows (wide_int &res, tree type,
void
operator_div::wi_fold (irange &r, tree type,
- const wide_int &lh_lb, const wide_int &lh_ub,
- const wide_int &rh_lb, const wide_int &rh_ub) const
+ const wide_int ÷nd_min,
+ const wide_int ÷nd_max,
+ const wide_int &divisor_min,
+ const wide_int &divisor_max) const
{
- const wide_int dividend_min = lh_lb;
- const wide_int dividend_max = lh_ub;
- const wide_int divisor_min = rh_lb;
- const wide_int divisor_max = rh_ub;
signop sign = TYPE_SIGN (type);
unsigned prec = TYPE_PRECISION (type);
wide_int extra_min, extra_max;
--
2.54.0