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 | |
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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/m32r/m32r.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4169c6e..5d7f90e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> * expr.h (STACK_SIZE_MODE): New macro. 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 |