Commit 6f9ca45b by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

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
parent c646194b
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> 2012-10-15 Oleg Endo <olegendo@gcc.gnu.org>
PR target/54925 PR target/54925
......
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
E, F and G are passed on stack. So the size of the stack argument E, F and G are passed on stack. So the size of the stack argument
data is 20. */ data is 20. */
#define STACK_ARGUMENTS_SIZE 20 #define STACK_ARGUMENTS_SIZE 20
#elif defined __MMIX__
/* No parameters on stack for bar. */
#define STACK_ARGUMENTS_SIZE 0
#else #else
#define STACK_ARGUMENTS_SIZE 64 #define STACK_ARGUMENTS_SIZE 64
#endif #endif
......
...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
E, F and G are passed on stack. So the size of the stack argument E, F and G are passed on stack. So the size of the stack argument
data is 20. */ data is 20. */
#define STACK_ARGUMENTS_SIZE 20 #define STACK_ARGUMENTS_SIZE 20
#elif defined __MMIX__
/* No parameters on stack for bar. */
#define STACK_ARGUMENTS_SIZE 0
#else #else
#define STACK_ARGUMENTS_SIZE 64 #define STACK_ARGUMENTS_SIZE 64
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment