builtin-apply-2.c, [...]: Correct STACK_ARGUMENTS_SIZE for MMIX.
authorHans-Peter Nilsson <hp@bitrange.com>
Mon, 15 Oct 2012 22:38:37 +0000 (22:38 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 15 Oct 2012 22:38:37 +0000 (22:38 +0000)
* 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
gcc/testsuite/gcc.dg/builtin-apply2.c
gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c

index 45d271c5617b87f18a84ff8a3233767755114b83..6efe507efb50a6178f384d4cfcc93722dc49a6b1 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-16  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * gcc.dg/torture/stackalign/builtin-apply-2.c,
+       gcc.dg/builtin-apply2.c: Correct STACK_ARGUMENTS_SIZE for MMIX.
+
 2012-10-15  Oleg Endo  <olegendo@gcc.gnu.org>
 
        PR target/54925
index c5b841a849689648d32e11eb9a7530350bd1a57e..332f3659f983d7f4add421dcd5d2fdb3be02ca5b 100644 (file)
@@ -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
index 6ba5871885a8664bb3f311c605c945e1f9609b3f..cbb38efc899383dcd30126b06a1739e0671d9c18 100644 (file)
@@ -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