From 7407f704b3cce83f9e084a152524e8de208bafe0 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 16 Oct 2021 12:32:31 -0700 Subject: [PATCH] Change set_ptr_nonull to set_ptr_nonnull in comments * value-query.cc (get_ssa_name_ptr_info_nonnull): Change set_ptr_nonull to set_ptr_nonnull in comments. --- gcc/value-query.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/value-query.cc b/gcc/value-query.cc index ab133aa..17ebd86 100644 --- a/gcc/value-query.cc +++ b/gcc/value-query.cc @@ -296,7 +296,7 @@ get_ssa_name_ptr_info_nonnull (const_tree name) return false; /* TODO Now pt->null is conservatively set to true in PTA analysis. vrp is the only pass (including ipa-vrp) - that clears pt.null via set_ptr_nonull when it knows + that clears pt.null via set_ptr_nonnull when it knows for sure. PTA will preserves the pt.null value set by VRP. When PTA analysis is improved, pt.anything, pt.nonlocal -- 2.7.4