2003-09-04 Eric Christopher <echristo@redhat.com>
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2003 20:04:44 +0000 (20:04 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2003 20:04:44 +0000 (20:04 +0000)
* targhooks.c (default_return_in_memory): Allow
unconverted ports.

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

gcc/ChangeLog
gcc/targhooks.c

index 5eb0b96..e2c0fc6 100644 (file)
@@ -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.
 
index fe0bc0f..7654e23 100644 (file)
@@ -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