gcov.c (find_source): Fix miswording in error message.
authorBenno Schulenberg <bensberg@justemail.net>
Sat, 11 Apr 2015 12:08:26 +0000 (12:08 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Sat, 11 Apr 2015 12:08:26 +0000 (12:08 +0000)
* gcov.c (find_source): Fix miswording in error message.
* config/i386/i386.c (ix86_handle_cconv_attribute): Likewise.
(ix86_expand_sse_comi_round): Fix typo in error message.

From-SVN: r222007

gcc/ChangeLog
gcc/config/i386/i386.c
gcc/gcov.c

index db56291..f60500a 100644 (file)
@@ -1,3 +1,9 @@
+2015-04-11  Benno Schulenberg  <bensberg@justemail.net>
+
+       * gcov.c (find_source): Fix miswording in error message.
+       * config/i386/i386.c (ix86_handle_cconv_attribute): Likewise.
+       (ix86_expand_sse_comi_round): Fix typo in error message.
+
 2015-04-11  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * doc/contrib.texi (Contributors): Add Laurynas Biveinis.
index a0b543a..110ec4a 100644 (file)
@@ -5649,7 +5649,7 @@ ix86_handle_cconv_attribute (tree *node, tree name,
   else if (is_attribute_p ("thiscall", name))
     {
       if (TREE_CODE (*node) != METHOD_TYPE && pedantic)
-       warning (OPT_Wattributes, "%qE attribute is used for none class-method",
+       warning (OPT_Wattributes, "%qE attribute is used for non-class method",
                 name);
       if (lookup_attribute ("stdcall", TYPE_ATTRIBUTES (*node)))
        {
@@ -37672,7 +37672,7 @@ ix86_expand_sse_comi_round (const struct builtin_description *d,
     }
   if (INTVAL (op2) < 0 || INTVAL (op2) >= 32)
     {
-      error ("incorect comparison mode");
+      error ("incorrect comparison mode");
       return const0_rtx;
     }
 
index f5de08f..796b1b9 100644 (file)
@@ -1141,7 +1141,7 @@ find_source (const char *file_name)
       if (!info_emitted)
        {
          fnotice (stderr,
-                  "(the message is only displayed one per source file)\n");
+                  "(the message is displayed only once per source file)\n");
          info_emitted = 1;
        }
       sources[idx].file_time = 0;