aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/romp
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1993-03-12 00:10:21 +0000
committerDoug Evans <dje@gnu.org>1993-03-12 00:10:21 +0000
commite14fa9c45a5fd9b4be62dedd78daa5559f4c83fc (patch)
treedb4aa309ff091e04ba8f5df5c60b09e38c6ea2db /gcc/config/romp
parentac07e0665d5044978a404837c22bfbf4adbe7ffa (diff)
downloadgcc-e14fa9c45a5fd9b4be62dedd78daa5559f4c83fc.zip
gcc-e14fa9c45a5fd9b4be62dedd78daa5559f4c83fc.tar.gz
gcc-e14fa9c45a5fd9b4be62dedd78daa5559f4c83fc.tar.bz2
* (RETURN_IN_MEMORY): Handle BLKmode values.
From-SVN: r3709
Diffstat (limited to 'gcc/config/romp')
-rw-r--r--gcc/config/romp/romp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/romp/romp.h b/gcc/config/romp/romp.h
index 67178a9..aa48d4a 100644
--- a/gcc/config/romp/romp.h
+++ b/gcc/config/romp/romp.h
@@ -552,7 +552,8 @@ enum reg_class { NO_REGS, R0_REGS, R15_REGS, BASE_REGS, GENERAL_REGS,
type DImode is returned in memory. */
#define RETURN_IN_MEMORY(type) \
- (TARGET_HC_STRUCT_RETURN && TYPE_MODE (type) == DImode)
+ (TYPE_MODE (type) == BLKmode \
+ || (TARGET_HC_STRUCT_RETURN && TYPE_MODE (type) == DImode))
/* 1 if N is a possible register number for a function value
as seen by the caller.