public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] lto: Fix typo in comment of gcc/lto/lto-symtab.c
@ 2020-11-14 10:18 Jerry Clcanny
  2020-11-18 21:40 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Jerry Clcanny @ 2020-11-14 10:18 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

Hi, thanks for reviewing this patch. This patch just change a typo in
comment of gcc/lto/lto-symtab.c. The original comment is "because after
removing one of duplicate decls the hash is not correcly updated to the
ohter dupliate.", I change "ohter" to "other". So I don't do any tesst and
provide reports.

[-- Attachment #2: fix-typo-in-comment-of-lto-symtab-c.patch --]
[-- Type: application/octet-stream, Size: 558 bytes --]

diff --git a/gcc/lto/lto-symtab.c b/gcc/lto/lto-symtab.c
index 0058d98bdb9..fed35c7dab2 100644
--- a/gcc/lto/lto-symtab.c
+++ b/gcc/lto/lto-symtab.c
@@ -985,7 +985,7 @@ lto_symtab_merge_symbols (void)
       /* Do the actual merging.  
 	 At this point we invalidate hash translating decls into symtab nodes
 	 because after removing one of duplicate decls the hash is not correcly
-	 updated to the ohter dupliate.  */
+	 updated to the other dupliate.  */
       FOR_EACH_SYMBOL (node)
 	if (lto_symtab_symbol_p (node)
 	    && node->next_sharing_asm_name

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

* Re: [PATCH] lto: Fix typo in comment of gcc/lto/lto-symtab.c
  2020-11-14 10:18 [PATCH] lto: Fix typo in comment of gcc/lto/lto-symtab.c Jerry Clcanny
@ 2020-11-18 21:40 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2020-11-18 21:40 UTC (permalink / raw)
  To: Jerry Clcanny, gcc-patches



On 11/14/20 3:18 AM, Jerry Clcanny via Gcc-patches wrote:
> Hi, thanks for reviewing this patch. This patch just change a typo in
> comment of gcc/lto/lto-symtab.c. The original comment is "because after
> removing one of duplicate decls the hash is not correcly updated to the
> ohter dupliate.", I change "ohter" to "other". So I don't do any tesst and
> provide reports.
I also fixed dupliate->duplicate and pushed the patch to the trunk.

Thanks,
jeff


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

end of thread, other threads:[~2020-11-18 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-14 10:18 [PATCH] lto: Fix typo in comment of gcc/lto/lto-symtab.c Jerry Clcanny
2020-11-18 21:40 ` Jeff Law

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).