public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Change set_ptr_nonull to set_ptr_nonnull in comments
@ 2021-10-16 19:34 H.J. Lu
  2021-10-18  7:00 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2021-10-16 19:34 UTC (permalink / raw)
  To: gcc-patches

	* 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 ab133aab114..17ebd86ce5f 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.32.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Change set_ptr_nonull to set_ptr_nonnull in comments
  2021-10-16 19:34 [PATCH] Change set_ptr_nonull to set_ptr_nonnull in comments H.J. Lu
@ 2021-10-18  7:00 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2021-10-18  7:00 UTC (permalink / raw)
  To: H.J. Lu; +Cc: GCC Patches

On Sat, Oct 16, 2021 at 9:35 PM H.J. Lu via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
>         * value-query.cc (get_ssa_name_ptr_info_nonnull): Change
>         set_ptr_nonull to set_ptr_nonnull in comments.

OK (but it's also obvious)

> ---
>  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 ab133aab114..17ebd86ce5f 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.32.0
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-18  7:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-16 19:34 [PATCH] Change set_ptr_nonull to set_ptr_nonnull in comments H.J. Lu
2021-10-18  7:00 ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).