From 6f9ca45b07939ccf7f80f2e25f8f75cfc93f22a3 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 15 Oct 2012 22:38:37 +0000 Subject: [PATCH] builtin-apply-2.c, [...]: Correct STACK_ARGUMENTS_SIZE for MMIX. * gcc.dg/torture/stackalign/builtin-apply-2.c, gcc.dg/builtin-apply2.c: Correct STACK_ARGUMENTS_SIZE for MMIX. From-SVN: r192483 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/builtin-apply2.c | 3 +++ gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c | 3 +++ 3 files changed, 11 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 45d271c5617..6efe507efb5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-10-16 Hans-Peter Nilsson + + * gcc.dg/torture/stackalign/builtin-apply-2.c, + gcc.dg/builtin-apply2.c: Correct STACK_ARGUMENTS_SIZE for MMIX. + 2012-10-15 Oleg Endo PR target/54925 diff --git a/gcc/testsuite/gcc.dg/builtin-apply2.c b/gcc/testsuite/gcc.dg/builtin-apply2.c index c5b841a8496..332f3659f98 100644 --- a/gcc/testsuite/gcc.dg/builtin-apply2.c +++ b/gcc/testsuite/gcc.dg/builtin-apply2.c @@ -17,6 +17,9 @@ E, F and G are passed on stack. So the size of the stack argument data is 20. */ #define STACK_ARGUMENTS_SIZE 20 +#elif defined __MMIX__ +/* No parameters on stack for bar. */ +#define STACK_ARGUMENTS_SIZE 0 #else #define STACK_ARGUMENTS_SIZE 64 #endif diff --git a/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c b/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c index 6ba5871885a..cbb38efc899 100644 --- a/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c +++ b/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c @@ -16,6 +16,9 @@ E, F and G are passed on stack. So the size of the stack argument data is 20. */ #define STACK_ARGUMENTS_SIZE 20 +#elif defined __MMIX__ +/* No parameters on stack for bar. */ +#define STACK_ARGUMENTS_SIZE 0 #else #define STACK_ARGUMENTS_SIZE 64 #endif -- 2.34.1