aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@redhat.com>2003-09-04 19:29:31 +0000
committerEric Christopher <echristo@gcc.gnu.org>2003-09-04 19:29:31 +0000
commited75b1d6fc830ca40efb91a1f617d244fbd5b442 (patch)
treedf78a8d56d25e8bd5c0151b34f3efb2bfbc7941c
parent45849738cfd06d9c7bb000cae2851a698fa595ee (diff)
downloadgcc-ed75b1d6fc830ca40efb91a1f617d244fbd5b442.zip
gcc-ed75b1d6fc830ca40efb91a1f617d244fbd5b442.tar.gz
gcc-ed75b1d6fc830ca40efb91a1f617d244fbd5b442.tar.bz2
targhooks.c (default_return_in_memory): Fix default definition.
2003-09-04 Eric Christopher <echristo@redhat.com> * targhooks.c (default_return_in_memory): Fix default definition. From-SVN: r71082
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/targhooks.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2821669..3875c60 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-04 Eric Christopher <echristo@redhat.com>
+
+ * targhooks.c (default_return_in_memory): Fix default
+ definition.
+
2003-09-04 Bernardo Innocenti <bernie@develer.com>
* config/m68k/m68k.c (m68k_coff_asm_named_section): Restore
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 943c5bd..c7ceaf3 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