Hi,

The below fixes some more typos in GCC's error messages.
When found okay, please apply.


2014-02-07  Benno Schulenberg  <bensb...@justemail.net>

        * config/arc/arc.c (arc_init): Fix typo in error message.
        * config/i386/i386.c (ix86_expand_builtin): Likewise.
        (split_stack_prologue_scratch_regno): Likewise.
        * fortran/check.c (gfc_check_fn_rc2008): Remove duplicate
        word from error message.


Index: gcc/fortran/check.c
===================================================================
--- gcc/fortran/check.c (revision 207597)
+++ gcc/fortran/check.c (working copy)
@@ -1736,7 +1736,7 @@
     return false;
 
   if (a->ts.type == BT_COMPLEX
-      && !gfc_notify_std (GFC_STD_F2008, "COMPLEX argument '%s' "
+      && !gfc_notify_std (GFC_STD_F2008, "COMPLEX '%s' "
                          "argument of '%s' intrinsic at %L", 
                          gfc_current_intrinsic_arg[0]->name, 
                          gfc_current_intrinsic, &a->where))
Index: gcc/config/i386/i386.c
===================================================================
--- gcc/config/i386/i386.c      (revision 207597)
+++ gcc/config/i386/i386.c      (working copy)
@@ -11804,7 +11804,7 @@
              if (regparm >= 2)
                {
                  sorry ("-fsplit-stack does not support 2 register "
-                        " parameters for a nested function");
+                        "parameters for a nested function");
                  return INVALID_REGNUM;
                }
              return DX_REG;
@@ -36006,7 +36006,7 @@
 
       if (!insn_data[icode].operand[3].predicate (op3, mode3))
        {
-         error ("the forth argument must be scale 1, 2, 4, 8");
+         error ("the fourth argument must be scale 1, 2, 4, 8");
          return const0_rtx;
        }
 
Index: gcc/config/arc/arc.c
===================================================================
--- gcc/config/arc/arc.c        (revision 207597)
+++ gcc/config/arc/arc.c        (working copy)
@@ -746,7 +746,7 @@
       error ("-mmul32x16 supported only for ARC600 or ARC601");
 
   if (!TARGET_DPFP && TARGET_DPFP_DISABLE_LRSR)
-      error ("-mno-dpfp-lrsr suppforted only with -mdpfp");
+      error ("-mno-dpfp-lrsr supported only with -mdpfp");
 
   /* FPX-1. No fast and compact together.  */
   if ((TARGET_DPFP_FAST_SET && TARGET_DPFP_COMPACT_SET)

Reply via email to