aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2023-10-26 10:00:16 -0400
committerAldy Hernandez <aldyh@redhat.com>2023-10-26 12:52:15 -0400
commit848b5f3ab79c5c13ea60ad5a213e1dca7f7a7002 (patch)
treeccdc593079c8769513b4fee62791ebe28cc3fdcb /gcc/expr.cc
parent24e97ac46c24060a1a5a2ce8ebc842239006c405 (diff)
downloadgcc-848b5f3ab79c5c13ea60ad5a213e1dca7f7a7002.zip
gcc-848b5f3ab79c5c13ea60ad5a213e1dca7f7a7002.tar.gz
gcc-848b5f3ab79c5c13ea60ad5a213e1dca7f7a7002.tar.bz2
[range-ops] Remove unneeded parameters from rv_fold.
Now that the floating point version of rv_fold calculates its result in an frange, we can remove the superfluous LB, UB, and MAYBE_NAN arguments. gcc/ChangeLog: * range-op-float.cc (range_operator::fold_range): Remove superfluous code. (range_operator::rv_fold): Remove unneeded arguments. (operator_plus::rv_fold): Same. (operator_minus::rv_fold): Same. (operator_mult::rv_fold): Same. (operator_div::rv_fold): Same. * range-op-mixed.h: Remove lb, ub, and maybe_nan arguments from rv_fold methods. * range-op.h: Same.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions