diff options
author | Doug Evans <dje@gnu.org> | 1993-03-12 00:10:21 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1993-03-12 00:10:21 +0000 |
commit | e14fa9c45a5fd9b4be62dedd78daa5559f4c83fc (patch) | |
tree | db4aa309ff091e04ba8f5df5c60b09e38c6ea2db /gcc/expr.h | |
parent | ac07e0665d5044978a404837c22bfbf4adbe7ffa (diff) | |
download | gcc-e14fa9c45a5fd9b4be62dedd78daa5559f4c83fc.zip gcc-e14fa9c45a5fd9b4be62dedd78daa5559f4c83fc.tar.gz gcc-e14fa9c45a5fd9b4be62dedd78daa5559f4c83fc.tar.bz2 |
* (RETURN_IN_MEMORY): Handle BLKmode values.
From-SVN: r3709
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -225,12 +225,11 @@ enum direction {none, upward, downward}; /* Value has this type. */ && (FUNCTION_ARG_PADDING (MODE, TYPE) \ == MUST_PASS_IN_STACK_BAD_PADDING)))) -/* Nonzero if type TYPE should be returned in memory - (even though its mode is not BLKmode). +/* Nonzero if type TYPE should be returned in memory. Most machines can use the following default definition. */ #ifndef RETURN_IN_MEMORY -#define RETURN_IN_MEMORY(TYPE) 0 +#define RETURN_IN_MEMORY(TYPE) (TYPE_MODE (TYPE) == BLKmode) #endif /* Optabs are tables saying how to generate insn bodies |