rs6000.c (altivec_expand_builtin): Fix typos in error messages.
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Thu, 29 Dec 2016 17:19:28 +0000 (17:19 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Thu, 29 Dec 2016 17:19:28 +0000 (17:19 +0000)
2016-12-29  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (altivec_expand_builtin): Fix typos in
error messages.

From-SVN: r243963

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 0a99b63..ae62a53 100644 (file)
@@ -1,3 +1,8 @@
+2016-12-29  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * config/rs6000/rs6000.c (altivec_expand_builtin): Fix typos in
+       error messages.
+
 2016-12-29  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * doc/extend.texi (Cilk Plus Builtins): cilkplus.org now uses
index e100a01..57e032c 100644 (file)
@@ -15841,7 +15841,7 @@ altivec_expand_builtin (tree exp, rtx target, bool *expandedp)
 
       if (TREE_CODE (arg1) != INTEGER_CST || TREE_INT_CST_LOW (arg1) > 12)
        {
-         error ("second argument to vec_vextract4b must 0..12");
+         error ("second argument to vec_vextract4b must be 0..12");
          return expand_call (exp, target, false);
        }
       break;
@@ -15858,7 +15858,7 @@ altivec_expand_builtin (tree exp, rtx target, bool *expandedp)
 
       if (TREE_CODE (arg2) != INTEGER_CST || TREE_INT_CST_LOW (arg2) > 12)
        {
-         error ("third argument to vec_vinsert4b must 0..12");
+         error ("third argument to vec_vinsert4b must be 0..12");
          return expand_call (exp, target, false);
        }
       break;