From e279e32243ca2989a46fc933764286f07fc933ef Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Wed, 21 Jul 2021 14:34:28 -0600 Subject: [PATCH] Fix typos in a comment. gcc/ChangeLog: * tree-ssa-alias.c (walk_aliased_vdefs_1): Fix typos in a comment. --- gcc/tree-ssa-alias.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 742a95a..cbd51ac 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -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 -- 2.7.4