]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove irange::may_contain_p.
authorAldy Hernandez <aldyh@redhat.com>
Mon, 21 Nov 2022 10:19:34 +0000 (11:19 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Wed, 26 Apr 2023 08:28:12 +0000 (10:28 +0200)
commit983ad30d42c810e4de60ae5ba468334ef8aa14d2
tree1e96e40b1d64183b80d1f3d0ade4ca96357ecc46
parentbfd9415761dabcfa3ddef2c78c169ac82702cd00
Remove irange::may_contain_p.

The deprecated irange::may_contain_p method differed from contains_p
in that it could handle symbolics, which no longer exist in VRP.

gcc/ChangeLog:

* value-range.cc (irange::may_contain_p): Remove.
* value-range.h (range_includes_zero_p):  Rewrite may_contain_p
usage with contains_p.
* vr-values.cc (compare_range_with_value): Same.
gcc/value-range.cc
gcc/value-range.h
gcc/vr-values.cc