summaryrefslogtreecommitdiff
path: root/gcc/config/romp
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1993-03-12 00:10:21 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1993-03-12 00:10:21 +0000
commitf195b57d393aebdda0bc97aa2a530a3eaa11a67b (patch)
treedb4aa309ff091e04ba8f5df5c60b09e38c6ea2db /gcc/config/romp
parent2e16c7bd1b9b3650ac09365fcfad347aefa46c00 (diff)
downloadgcc-f195b57d393aebdda0bc97aa2a530a3eaa11a67b.tar.gz
* (RETURN_IN_MEMORY): Handle BLKmode values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3709 138bc75d-0d04-0410-961f-82ee72b054a4
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 67178a99615..aa48d4a0016 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.