aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/targhooks.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5eb0b96e4f9..e2c0fc6865d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2003-09-04 Eric Christopher <echristo@redhat.com>
+ * targhooks.c (default_return_in_memory): Allow
+ unconverted ports.
+
+2003-09-04 Eric Christopher <echristo@redhat.com>
+
* targhooks.c (default_return_in_memory): Fix typo
in last checkin.
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index fe0bc0f5e4e..7654e230b83 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