]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove use_equiv_p in vr-values.cc
authorAldy Hernandez <aldyh@redhat.com>
Tue, 22 Nov 2022 09:44:18 +0000 (10:44 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Thu, 24 Nov 2022 06:38:27 +0000 (07:38 +0100)
commit8c8ca873216387bc26046615c806b96f0345ff9d
treef77ee63ce4ff3d978704e24de488e85d51ffd7c7
parent22f402963f1152988982ea1ffd98b2e823905c42
Remove use_equiv_p in vr-values.cc

With no equivalences, the use_equiv_p argument in various methods in
simplify_using_ranges is always false.  This means we can remove all
calls to compare_names, along with the function.

gcc/ChangeLog:

* vr-values.cc (simplify_using_ranges::compare_names): Remove.
(vrp_evaluate_conditional_warnv_with_ops): Remove call to
compare_names.
(simplify_using_ranges::vrp_visit_cond_stmt): Remove use_equiv_p
argument to vrp_evaluate_conditional_warnv_with_ops.
* vr-values.h (class simplify_using_ranges): Remove
compare_names.
Remove use_equiv_p to vrp_evaluate_conditional_warnv_with_ops.
gcc/vr-values.cc
gcc/vr-values.h