public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jerry Clcanny <a837940593@gmail.com>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH] lto: Fix typo in comment of gcc/lto/lto-symtab.c
Date: Sat, 14 Nov 2020 18:18:58 +0800	[thread overview]
Message-ID: <CAJr0TZgH1j_eoguTOY6QWQE7-b8hB3UAuqMmyuY1BhvCv52P9A@mail.gmail.com> (raw)

[-- 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

             reply	other threads:[~2020-11-14 10:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-14 10:18 Jerry Clcanny [this message]
2020-11-18 21:40 ` Jeff Law

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJr0TZgH1j_eoguTOY6QWQE7-b8hB3UAuqMmyuY1BhvCv52P9A@mail.gmail.com \
    --to=a837940593@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).