aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2021-04-08 09:08:39 -0600
committerMartin Sebor <msebor@redhat.com>2021-04-08 09:08:39 -0600
commitd6cc745cb87aa62f9e17699aedf5aa2d9831fbd8 (patch)
tree4dec52751c89a166a2e1a36629498331bab1a941 /gcc
parenta25321ca06f61e5aeadc00923249f83af72059c5 (diff)
downloadgcc-d6cc745cb87aa62f9e17699aedf5aa2d9831fbd8.zip
gcc-d6cc745cb87aa62f9e17699aedf5aa2d9831fbd8.tar.gz
gcc-d6cc745cb87aa62f9e17699aedf5aa2d9831fbd8.tar.bz2
PR middle-end/99883 - A couple of minor misspellings
gcc/c-family/ChangeLog: PR middle-end/99883 * c.opt (Wmismatched-new-delete): Correct spelling. gcc/lto/ChangeLog: PR middle-end/99883 * lto-lang.c (lto_post_options): Correct spelling.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-family/c.opt2
-rw-r--r--gcc/lto/lto-lang.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index 64e46e7..ed9a825 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 8e73a11..c13c7e4 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 */