public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* fix a couple of typos (PR 99883)
@ 2021-04-07 23:46 Martin Sebor
  2021-04-13 16:08 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Sebor @ 2021-04-07 23:46 UTC (permalink / raw)
  To: gcc-patches

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

The attached patch fixes a couple of typos.  Not sure they qualify
as regressions but it seems like a trivial fix worth making even
now.  I'll go ahead and commit it as obvious if no-one objects.

Martin

[-- Attachment #2: gcc-99883.diff --]
[-- Type: text/x-patch, Size: 1235 bytes --]

PR middle-end/99883 - A couple of minor misspellings

gcc/c-family/ChangeLog:

	* c.opt (Wmismatched-new-delete): Correct spelling.

gcc/lto/ChangeLog:

	* lto-lang.c (lto_post_options): Correct spelling.

diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index 64e46e7573e..ed9a82599ef 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -800,7 +800,7 @@ functions.
 
 Wmismatched-new-delete
 C++ ObjC++ Var(warn_mismatched_new_delete) Warning LangEnabledBy(C ObjC C++ ObjC++,Wall)
-Warn for mismatches between calls to operator new or delete and the corrsponding
+Warn for mismatches between calls to operator new or delete and the corresponding
 call to the allocation or deallocation function.
 
 Wmismatched-tags
diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c
index 8e73a11a7f6..c13c7e45ac1 100644
--- a/gcc/lto/lto-lang.c
+++ b/gcc/lto/lto-lang.c
@@ -896,7 +896,7 @@ lto_post_options (const char **pfilename ATTRIBUTE_UNUSED)
       lang_hooks.lto.end_section = lhd_end_section;
       if (flag_ltrans)
 	error ("%<-flinker-output=rel%> and %<-fltrans%> are mutually "
-	       "exclussive");
+	       "exclusive");
       break;
 
     case LTO_LINKER_OUTPUT_NOLTOREL: /* .o: incremental link producing asm  */

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

* Re: fix a couple of typos (PR 99883)
  2021-04-07 23:46 fix a couple of typos (PR 99883) Martin Sebor
@ 2021-04-13 16:08 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2021-04-13 16:08 UTC (permalink / raw)
  To: Martin Sebor, gcc-patches


On 4/7/2021 5:46 PM, Martin Sebor via Gcc-patches wrote:
> The attached patch fixes a couple of typos.  Not sure they qualify
> as regressions but it seems like a trivial fix worth making even
> now.  I'll go ahead and commit it as obvious if no-one objects.

Yea, this kind of diagnostic message fix is fine now.


Jeff



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

end of thread, other threads:[~2021-04-13 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 23:46 fix a couple of typos (PR 99883) Martin Sebor
2021-04-13 16:08 ` 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).