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

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
This commit is contained in:
Michael Meissner 2016-12-29 17:19:28 +00:00 committed by Michael Meissner
parent e8003aaeeb
commit fdd8eb6db5
2 changed files with 7 additions and 2 deletions

View 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

View 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;