https://gcc.gnu.org/g:91e9ceecaa124cb2b38ca8db798055e461f4aa5a
commit r17-5329-g91e9ceecaa124cb2b38ca8db798055e461f4aa5a Author: linden <[email protected]> Date: Wed Oct 14 08:35:02 2026 +1300 range-op: avoid copying the bounds in operator_div::wi_fold 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]> Diff: --- 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 da788182899c..beecea6a8e70 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;
