On Mon, Jun 13, 2016 at 10:38:22AM +0200, Andreas Krebbel wrote: > Committed to GCC 5 and mainline branches.
What about gcc-6-branch? It also has MAX_ARGS 5, and case for arity 6. > gcc/ChangeLog: > > 2016-06-13 Andreas Krebbel <kreb...@linux.vnet.ibm.com> > > PR target/71379 > * config/s390/s390.c (s390_expand_builtin): Increase MAX_ARGS by > one. > --- > gcc/config/s390/s390.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c > index 48b8222..ee0187c 100644 > --- a/gcc/config/s390/s390.c > +++ b/gcc/config/s390/s390.c > @@ -791,7 +791,7 @@ s390_expand_builtin (tree exp, rtx target, rtx subtarget > ATTRIBUTE_UNUSED, > machine_mode mode ATTRIBUTE_UNUSED, > int ignore ATTRIBUTE_UNUSED) > { > -#define MAX_ARGS 5 > +#define MAX_ARGS 6 > > tree fndecl = TREE_OPERAND (CALL_EXPR_FN (exp), 0); > unsigned int fcode = DECL_FUNCTION_CODE (fndecl); > -- > 1.9.1 Jakub