]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix typos in a comment.
authorMartin Sebor <msebor@redhat.com>
Wed, 21 Jul 2021 20:34:28 +0000 (14:34 -0600)
committerMartin Sebor <msebor@redhat.com>
Wed, 21 Jul 2021 20:35:56 +0000 (14:35 -0600)
gcc/ChangeLog:
* tree-ssa-alias.c (walk_aliased_vdefs_1): Fix typos in a comment.

gcc/tree-ssa-alias.c

index 742a95a549e200efcb5ca2abc9b7b5ce4f08e51a..cbd51ac4d7c15d8e0a06479c4a077444481b2239 100644 (file)
@@ -3745,7 +3745,7 @@ walk_non_aliased_vuses (ao_ref *ref, tree vuse, bool tbaa_p,
 }
 
 
-/* Based on the memory reference REF call WALKER for each vdef which
+/* Based on the memory reference REF call WALKER for each vdef whose
    defining statement may clobber REF, starting with VDEF.  If REF
    is NULL_TREE, each defining statement is visited.
 
@@ -3755,8 +3755,8 @@ walk_non_aliased_vuses (ao_ref *ref, tree vuse, bool tbaa_p,
    If function entry is reached, FUNCTION_ENTRY_REACHED is set to true.
    The pointer may be NULL and then we do not track this information.
 
-   At PHI nodes walk_aliased_vdefs forks into one walk for reach
-   PHI argument (but only one walk continues on merge points), the
+   At PHI nodes walk_aliased_vdefs forks into one walk for each
+   PHI argument (but only one walk continues at merge points), the
    return value is true if any of the walks was successful.
 
    The function returns the number of statements walked or -1 if