This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] stormy16 Return structs in registers
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch] stormy16 Return structs in registers
- From: Catherine Moore <clm at redhat dot com>
- Date: Tue, 18 Sep 2001 11:17:29 -0700
- Cc: clm at redhat dot com
The stormy16 ABI calls for aggregates to be returned
in registers if they fit. Okay to install?
Catherine
2001-09-18 Catherine Moore <clm@redhat.com>
* config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
Define as 0.
Index: stormy16.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/stormy16/stormy16.h,v
retrieving revision 1.5
diff -p -r1.5 stormy16.h
*** stormy16.h 2001/09/18 17:02:28 1.5
--- stormy16.h 2001/09/18 18:16:51
*************** typedef int CUMULATIVE_ARGS;
*** 2292,2298 ****
return values are decided by the `RETURN_IN_MEMORY' macro.
If not defined, this defaults to the value 1. */
! /* #define DEFAULT_PCC_STRUCT_RETURN */
/* If the structure value address is passed in a register, then
`STRUCT_VALUE_REGNUM' should be the number of that register. */
--- 2292,2298 ----
return values are decided by the `RETURN_IN_MEMORY' macro.
If not defined, this defaults to the value 1. */
! #define DEFAULT_PCC_STRUCT_RETURN 0
/* If the structure value address is passed in a register, then
`STRUCT_VALUE_REGNUM' should be the number of that register. */