targhooks.c (default_return_in_memory): Fix default definition.
authorEric Christopher <echristo@redhat.com>
Thu, 4 Sep 2003 19:29:31 +0000 (19:29 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Thu, 4 Sep 2003 19:29:31 +0000 (19:29 +0000)
2003-09-04  Eric Christopher  <echristo@redhat.com>

* targhooks.c (default_return_in_memory): Fix default
definition.

From-SVN: r71082

gcc/ChangeLog
gcc/targhooks.c

index 2821669b83198b4a6425632563f7d99b148d93e2..3875c6073652fc809621976780d05faadc092f21 100644 (file)
@@ -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
index 943c5bd55c0b62a23a5bebf3ed8eefe24288c13a..c7ceaf38a2fd7a64a8bf404943916b28ae6e48d7 100644 (file)
@@ -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