From 9516a9afd7705634814618ecdcac6c58c90d4e15 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 12 Mar 1993 00:11:19 +0000 Subject: [PATCH] * (RETURN_IN_MEMORY): Handle BLKmode values. From-SVN: r3711 --- gcc/config/h8300/h8300.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 65ff8e5..e9daedc 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -458,7 +458,8 @@ enum reg_class { NO_REGS, LONG_REGS, GENERAL_REGS, SP_REG, ALL_REGS, LIM_REG_CLA #define STRUCT_VALUE_INCOMING 0 /* Return true if X should be returned in memory. */ -#define RETURN_IN_MEMORY(X) (GET_MODE_SIZE (TYPE_MODE (X)) > 4) +#define RETURN_IN_MEMORY(X) \ + (TYPE_MODE (X) == BLKmode || GET_MODE_SIZE (TYPE_MODE (X)) > 4) /* When defined, the compiler allows registers explicitly used in the rtl to be used as spill registers but prevents the compiler from -- 2.7.4