From f90eba2a3ca31b13d19777957214afae7c1e2647 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Mon, 13 Jun 2016 08:34:45 +0000 Subject: [PATCH] S/390: Fix MAX_ARGS value. gcc/ChangeLog: 2016-06-13 Andreas Krebbel PR target/71379 * config/s390/s390.c (s390_expand_builtin): Increase MAX_ARGS by one. From-SVN: r237364 --- gcc/ChangeLog | 6 ++++++ gcc/config/s390/s390.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 690bd02469d..3992ed3442e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-06-13 Andreas Krebbel + + PR target/71379 + * config/s390/s390.c (s390_expand_builtin): Increase MAX_ARGS by + one. + 2016-06-13 Richard Biener PR middle-end/64516 diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 48b8222bf87..ee0187c67f7 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); -- 2.30.2