diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-11-22 10:44:18 +0100 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-11-24 07:38:27 +0100 |
commit | 8c8ca873216387bc26046615c806b96f0345ff9d (patch) | |
tree | f77ee63ce4ff3d978704e24de488e85d51ffd7c7 /gcc/varasm.cc | |
parent | 22f402963f1152988982ea1ffd98b2e823905c42 (diff) | |
download | gcc-8c8ca873216387bc26046615c806b96f0345ff9d.zip gcc-8c8ca873216387bc26046615c806b96f0345ff9d.tar.gz gcc-8c8ca873216387bc26046615c806b96f0345ff9d.tar.bz2 |
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.
Diffstat (limited to 'gcc/varasm.cc')
0 files changed, 0 insertions, 0 deletions