Commit 4abfe235 by Nick Clifton Committed by Nick Clifton

Define MUST_PASS_IN_STACK to override default. (Fixes testsuite/gcc.c-execute/strct-stdarg-1.c)

From-SVN: r20908
parent 356985ca
Thu Jul 2 17:41:14 1998 Nick Clifton <nickc@cygnus.com>
* config/m32r/m32r.h (MUST_PASS_IN_STACK): Override default
version.
Thu Jul 2 14:34:48 1998 David Edelsohn <edelsohn@mhpcc.edu> Thu Jul 2 14:34:48 1998 David Edelsohn <edelsohn@mhpcc.edu>
* expr.h (STACK_SIZE_MODE): New macro. * expr.h (STACK_SIZE_MODE): New macro.
......
...@@ -843,6 +843,12 @@ M32R_STACK_ALIGN (current_function_outgoing_args_size) ...@@ -843,6 +843,12 @@ M32R_STACK_ALIGN (current_function_outgoing_args_size)
SIZE is the number of bytes of arguments passed on the stack. */ SIZE is the number of bytes of arguments passed on the stack. */
#define RETURN_POPS_ARGS(DECL, FUNTYPE, SIZE) 0 #define RETURN_POPS_ARGS(DECL, FUNTYPE, SIZE) 0
/* Nonzero if we do not know how to pass TYPE solely in registers. */
#define MUST_PASS_IN_STACK(MODE,TYPE) \
((TYPE) != 0 \
&& (TREE_CODE (TYPE_SIZE (TYPE)) != INTEGER_CST \
|| TREE_ADDRESSABLE (TYPE)))
/* Define a data type for recording info about an argument list /* Define a data type for recording info about an argument list
during the scan of that argument list. This data type should during the scan of that argument list. This data type should
hold all necessary information about the function itself hold all necessary information about the function itself
......
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