diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-07-03 18:22:11 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-07-04 07:58:47 +0200 |
commit | bbe836bc7c557b3f4119e03d24cb61f23906cba9 (patch) | |
tree | ed5536607b0f5a76297de799c4a46d06fe10a464 /gcc/value-range.cc | |
parent | 3731dd0bea8994c3d7b5a4879f89f3e7a0eb2cf4 (diff) | |
download | gcc-bbe836bc7c557b3f4119e03d24cb61f23906cba9.zip gcc-bbe836bc7c557b3f4119e03d24cb61f23906cba9.tar.gz gcc-bbe836bc7c557b3f4119e03d24cb61f23906cba9.tar.bz2 |
Remove some deprecated irange methods.
Tested on x86-64 Linux.
gcc/ChangeLog:
* ipa-cp.cc (ipcp_vr_lattice::meet_with_1): Use operator!=.
* ipa-prop.cc (struct ipa_vr_ggc_hash_traits): Same.
* tree-ssa-loop-unswitch.cc (struct unswitch_predicate): Use set
with two arguments.
(find_unswitching_predicates_for_bb): Same.
* tree-vrp.cc (range_fold_unary_symbolics_p): Same.
* value-range-equiv.cc (value_range_equiv::equal_p): Use operator==.
* value-range.cc (irange::equal_p): Rename to...
(irange::operator==): ...this.
* value-range.h (irange::set): Remove.
(irange::operator==): Remove.
(irange::set_zero): Use set with two arguments.
* vr-values.cc (vr_values::extract_range_from_binary_expr): Same.
(vr_values::extract_range_from_unary_expr): Same.
(check_for_binary_op_overflow): Same.
(bounds_of_var_in_loop): Same.
Diffstat (limited to 'gcc/value-range.cc')
-rw-r--r-- | gcc/value-range.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/value-range.cc b/gcc/value-range.cc index 815cb78..574c510 100644 --- a/gcc/value-range.cc +++ b/gcc/value-range.cc @@ -688,7 +688,7 @@ irange::legacy_equal_p (const irange &other) const } bool -irange::equal_p (const irange &other) const +irange::operator== (const irange &other) const { if (legacy_mode_p ()) { |