ipa-utils.c (ipa_merge_profiles): Fix fprintf format string typo - mistmatch -> mismatch.
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 Nov 2019 23:22:41 +0000 (00:22 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Nov 2019 23:22:41 +0000 (00:22 +0100)
* 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

gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/ipa-devirt.c
gcc/ipa-profile.c
gcc/ipa-utils.c

index 8c0a25e9c02a5790fdb4059dc977330327b7e741..a73095b6b6ed95c48479f61b2fa32184626847af 100644 (file)
@@ -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.
index 2aa0afae11352943df4d39b3480770d218148388..2104a750f08517425a066eb5f3bf24c2b5e0fde8 100644 (file)
@@ -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.
index eda827250dab82fa9d0b6ba11a2f42f0f3198f99..c620b05fe0727bb7052ba4f7906c1a9ccc23cd4a 100644 (file)
@@ -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);
 
index 4a73ba1aa76731d3c0c184ef2b90758b23452eff..d1c462a1ac191b6c1e3079c577420ea80ab6597e 100644 (file)
@@ -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
index a1acd2e413a5f3c955ceeef33806140b8f3719c5..79cabc5573e903265541d4e2ec343167be5cbac1 100644 (file)
@@ -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)
index 8849429e9e404cf4dbf951dff0115ed9ab80a1ae..2830d41026a5632bac2a60582bda11b70d5b220d 100644 (file)
@@ -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;