OSDN Git Service

2003-09-04 Eric Christopher <echristo@redhat.com>
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2003 19:29:31 +0000 (19:29 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2003 19:29:31 +0000 (19:29 +0000)
* targhooks.c (default_return_in_memory): Fix default
definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71082 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/targhooks.c

index 2821669..3875c60 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 943c5bd..c7ceaf3 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