aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-11-08 00:22:41 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-11-08 00:22:41 +0100
commit4e8e460b44fa758caa8fd20b7daa24a2f29d988b (patch)
tree155d8e926ce5cd9e68af8788fd401bf2a20b85ed /gcc
parent3a99fd4dbb68c543299278c5bf5c04dfe93fc56c (diff)
downloadgcc-4e8e460b44fa758caa8fd20b7daa24a2f29d988b.zip
gcc-4e8e460b44fa758caa8fd20b7daa24a2f29d988b.tar.gz
gcc-4e8e460b44fa758caa8fd20b7daa24a2f29d988b.tar.bz2
ipa-utils.c (ipa_merge_profiles): Fix fprintf format string typo - mistmatch -> mismatch.
* ipa-utils.c (ipa_merge_profiles): Fix fprintf format string typo - mistmatch -> mismatch. * ipa-profile.c (ipa_profile): Likewise. * ipa-devirt.c (compare_virtual_tables): Fix a comment typo - mistmatch -> mismatch. cp/ * init.c (build_vec_delete_1): Fix a comment typo - mist -> must. From-SVN: r277933
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/init.c2
-rw-r--r--gcc/ipa-devirt.c2
-rw-r--r--gcc/ipa-profile.c2
-rw-r--r--gcc/ipa-utils.c4
6 files changed, 17 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8c0a25e..a73095b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2019-11-08 Jakub Jelinek <jakub@redhat.com>
+
+ * ipa-utils.c (ipa_merge_profiles): Fix fprintf format string
+ typo - mistmatch -> mismatch.
+ * ipa-profile.c (ipa_profile): Likewise.
+ * ipa-devirt.c (compare_virtual_tables): Fix a comment typo
+ - mistmatch -> mismatch.
+
2018-11-07 Segher Boessenkool <segher@kernel.crashing.org>
* simplify-rtx.c (comparison_to_mask): New function.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2aa0afa..2104a75 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-08 Jakub Jelinek <jakub@redhat.com>
+
+ * init.c (build_vec_delete_1): Fix a comment typo - mist -> must.
+
2019-11-07 Jason Merrill <jason@redhat.com>
Implement D1959R0, remove weak_equality and strong_equality.
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index eda8272..c620b05 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -4060,7 +4060,7 @@ build_vec_delete_1 (tree base, tree maxindex, tree type,
else if (!body)
body = deallocate_expr;
else
- /* The delete operator mist be called, even if a destructor
+ /* The delete operator must be called, even if a destructor
throws. */
body = build2 (TRY_FINALLY_EXPR, void_type_node, body, deallocate_expr);
diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c
index 4a73ba1..d1c462a 100644
--- a/gcc/ipa-devirt.c
+++ b/gcc/ipa-devirt.c
@@ -808,7 +808,7 @@ compare_virtual_tables (varpool_node *prevailing, varpool_node *vtable)
return;
}
- /* And in the last case we have either mistmatch in between two virtual
+ /* And in the last case we have either mismatch in between two virtual
methods or two virtual table pointers. */
auto_diagnostic_group d;
if (warning_at (DECL_SOURCE_LOCATION
diff --git a/gcc/ipa-profile.c b/gcc/ipa-profile.c
index a1acd2e..79cabc5 100644
--- a/gcc/ipa-profile.c
+++ b/gcc/ipa-profile.c
@@ -613,7 +613,7 @@ ipa_profile (void)
if (dump_file)
fprintf (dump_file,
"Not speculating: "
- "parameter count mistmatch\n");
+ "parameter count mismatch\n");
}
else if (e->indirect_info->polymorphic
&& !opt_for_fn (n->decl, flag_devirtualize)
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c
index 8849429..2830d41 100644
--- a/gcc/ipa-utils.c
+++ b/gcc/ipa-utils.c
@@ -518,7 +518,7 @@ ipa_merge_profiles (struct cgraph_node *dst,
{
if (symtab->dump_file)
fprintf (symtab->dump_file,
- "Edge count mistmatch for bb %i.\n",
+ "Edge count mismatch for bb %i.\n",
srcbb->index);
match = false;
break;
@@ -531,7 +531,7 @@ ipa_merge_profiles (struct cgraph_node *dst,
{
if (symtab->dump_file)
fprintf (symtab->dump_file,
- "Succ edge mistmatch for bb %i.\n",
+ "Succ edge mismatch for bb %i.\n",
srce->dest->index);
match = false;
break;