From: Jakub Jelinek Date: Thu, 7 Nov 2019 23:22:41 +0000 (+0100) Subject: ipa-utils.c (ipa_merge_profiles): Fix fprintf format string typo - mistmatch -> mismatch. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e8e460b44fa758caa8fd20b7daa24a2f29d988b;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8c0a25e9c02..a73095b6b6e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2019-11-08 Jakub Jelinek + + * 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 * simplify-rtx.c (comparison_to_mask): New function. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2aa0afae113..2104a750f08 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2019-11-08 Jakub Jelinek + + * init.c (build_vec_delete_1): Fix a comment typo - mist -> must. + 2019-11-07 Jason Merrill Implement D1959R0, remove weak_equality and strong_equality. diff --git a/gcc/cp/init.c b/gcc/cp/init.c index eda827250da..c620b05fe07 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 4a73ba1aa76..d1c462a1ac1 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 a1acd2e413a..79cabc5573e 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 8849429e9e4..2830d41026a 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;