From b700634a642cae0297fb863638ab9e625d6f5b38 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Wed, 24 Apr 2002 21:26:17 +0000 Subject: [PATCH] sh.h (RETURN_IN_MEMORY): Return variable size BLKmode values in memory. * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode values in memory. From-SVN: r52731 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e70a847091a..62524467c3c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 24 21:20:58 2002 J"orn Rennecke + + * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode + values in memory. + 2002-04-24 Neil Booth * attribs.c (c_common_attribute_table): Move table and handlers diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 0f9345cd302..d2340456d82 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -973,7 +973,7 @@ extern char sh_additional_register_names[ADDREGNAMES_SIZE] \ #define RETURN_IN_MEMORY(TYPE) \ (TARGET_SH5 \ ? ((TYPE_MODE (TYPE) == BLKmode \ - ? int_size_in_bytes (TYPE) \ + ? (unsigned HOST_WIDE_INT) int_size_in_bytes (TYPE) \ : GET_MODE_SIZE (TYPE_MODE (TYPE))) > 8) \ : (TYPE_MODE (TYPE) == BLKmode \ || TARGET_HITACHI && TREE_CODE (TYPE) == RECORD_TYPE)) -- 2.30.2