From ed75b1d6fc830ca40efb91a1f617d244fbd5b442 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 4 Sep 2003 19:29:31 +0000 Subject: [PATCH] targhooks.c (default_return_in_memory): Fix default definition. 2003-09-04 Eric Christopher * targhooks.c (default_return_in_memory): Fix default definition. From-SVN: r71082 --- gcc/ChangeLog | 5 +++++ gcc/targhooks.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2821669b831..3875c607365 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-09-04 Eric Christopher + + * targhooks.c (default_return_in_memory): Fix default + definition. + 2003-09-04 Bernardo Innocenti * config/m68k/m68k.c (m68k_coff_asm_named_section): Restore diff --git a/gcc/targhooks.c b/gcc/targhooks.c index 943c5bd55c0..c7ceaf38a2f 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -107,7 +107,7 @@ bool default_return_in_memory (tree type, tree fntype ATTRIBUTE_UNUSED) { - return RETURN_IN_MEMORY (type); + return (TYPE_MODE (TYPE) == BLKmode); } rtx -- 2.30.2