From be6acd4b3a2c3a23baa80c11899a3cbb0969662b Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 4 Sep 2003 20:04:44 +0000 Subject: [PATCH] targhooks.c (default_return_in_memory): Allow unconverted ports. 2003-09-04 Eric Christopher * targhooks.c (default_return_in_memory): Allow unconverted ports. From-SVN: r71085 --- gcc/ChangeLog | 5 +++++ gcc/targhooks.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5eb0b96e4f99..e2c0fc6865d5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-09-04 Eric Christopher + + * targhooks.c (default_return_in_memory): Allow + unconverted ports. + 2003-09-04 Eric Christopher * targhooks.c (default_return_in_memory): Fix typo diff --git a/gcc/targhooks.c b/gcc/targhooks.c index fe0bc0f5e4e9..7654e230b839 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -107,7 +107,11 @@ bool default_return_in_memory (tree type, tree fntype ATTRIBUTE_UNUSED) { +#ifndef RETURN_IN_MEMORY return (TYPE_MODE (type) == BLKmode); +#else + return RETURN_IN_MEMORY (type); +#endif } rtx -- 2.47.3