diff options
author | Nick Clifton <nickc@cygnus.com> | 1998-07-02 17:42:29 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1998-07-02 17:42:29 +0000 |
commit | 4abfe23513e94ae3f32839a24d93ff1b237f3197 (patch) | |
tree | b31ebbdef4679acf5d7432b7e58338a0348f6fd4 /gcc/config/m32r | |
parent | 356985ca34dd74f329ecf89a38f1792859c8916b (diff) | |
download | gcc-4abfe23513e94ae3f32839a24d93ff1b237f3197.zip gcc-4abfe23513e94ae3f32839a24d93ff1b237f3197.tar.gz gcc-4abfe23513e94ae3f32839a24d93ff1b237f3197.tar.bz2 |
Define MUST_PASS_IN_STACK to override default. (Fixes testsuite/gcc.c-execute/strct-stdarg-1.c)
From-SVN: r20908
Diffstat (limited to 'gcc/config/m32r')
-rw-r--r-- | gcc/config/m32r/m32r.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h index 1503bdf..9028f01 100644 --- a/gcc/config/m32r/m32r.h +++ b/gcc/config/m32r/m32r.h @@ -843,6 +843,12 @@ M32R_STACK_ALIGN (current_function_outgoing_args_size) SIZE is the number of bytes of arguments passed on the stack. */ #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 during the scan of that argument list. This data type should hold all necessary information about the function itself |