]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Change set_ptr_nonull to set_ptr_nonnull in comments
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 16 Oct 2021 19:32:31 +0000 (12:32 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 16 Oct 2021 19:32:31 +0000 (12:32 -0700)
* value-query.cc (get_ssa_name_ptr_info_nonnull): Change
set_ptr_nonull to set_ptr_nonnull in comments.

gcc/value-query.cc

index ab133aab1142968ebcae0352f000315f26d4e01d..17ebd86ce5f414e5f742e59eebd1d29e8527c8be 100644 (file)
@@ -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