]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove compare_names* from legacy cond folding.
authorAldy Hernandez <aldyh@redhat.com>
Sun, 20 Nov 2022 21:59:40 +0000 (22:59 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Wed, 26 Apr 2023 08:28:12 +0000 (10:28 +0200)
commitf2b894b148755308de65593231721df4309fc6b3
tree706dde65a3f0441b8a41e907986e2f066c19b4b6
parent1f0bfbb26e532cef7347a91439008114fd88173a
Remove compare_names* from legacy cond folding.

In a test run I have asserted that the legacy conditional folding only
gets overflows, so this removal is safe.

gcc/ChangeLog:

* vr-values.cc (get_vr_for_comparison): Remove.
(compare_name_with_value): Same.
(vrp_evaluate_conditional_warnv_with_ops): Remove calls to
compare_name_with_value.
* vr-values.h: Remove compare_name_with_value.
Remove get_vr_for_comparison.
gcc/vr-values.cc
gcc/vr-values.h