aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-10-16 12:32:31 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-10-16 12:32:31 -0700
commit7407f704b3cce83f9e084a152524e8de208bafe0 (patch)
treedf558efc39987cbc51d35014731db35f50987daa /gcc
parent99b287b8ef51a0be52f7400879a619dc5f993f31 (diff)
downloadgcc-7407f704b3cce83f9e084a152524e8de208bafe0.zip
gcc-7407f704b3cce83f9e084a152524e8de208bafe0.tar.gz
gcc-7407f704b3cce83f9e084a152524e8de208bafe0.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/value-query.cc2
1 files changed, 1 insertions, 1 deletions
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