]> git.ipfire.org Git - thirdparty/gcc.git/commit
Various cleanups in vr-values.cc towards ranger API.
authorAldy Hernandez <aldyh@redhat.com>
Wed, 25 Jan 2023 10:23:33 +0000 (11:23 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Mon, 1 May 2023 06:29:24 +0000 (08:29 +0200)
commitc7422782a2e506d6ef8bf68c83becc41d523d810
treefd38ef029de1be86b119883627f73f4fc34ec670
parent6b73cbb04d486b96052236a7649175988e3cbf53
Various cleanups in vr-values.cc towards ranger API.

gcc/ChangeLog:

* vr-values.cc (check_for_binary_op_overflow): Tidy up by using
ranger API.
(compare_ranges): Delete.
(compare_range_with_value): Delete.
(bounds_of_var_in_loop): Tidy up by using ranger API.
(simplify_using_ranges::fold_cond_with_ops): Cleanup and rename
from vrp_evaluate_conditional_warnv_with_ops_using_ranges.
(simplify_using_ranges::legacy_fold_cond_overflow): Remove
strict_overflow_p and only_ranges.
(simplify_using_ranges::legacy_fold_cond): Adjust call to
legacy_fold_cond_overflow.
(simplify_using_ranges::simplify_abs_using_ranges): Adjust for
rename.
(range_fits_type_p): Rename value_range to irange.
* vr-values.h (range_fits_type_p): Adjust prototype.
gcc/vr-values.cc
gcc/vr-values.h