]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
targhooks.c (default_return_in_memory): Allow unconverted ports.
authorEric Christopher <echristo@redhat.com>
Thu, 4 Sep 2003 20:04:44 +0000 (20:04 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Thu, 4 Sep 2003 20:04:44 +0000 (20:04 +0000)
2003-09-04  Eric Christopher  <echristo@redhat.com>

* targhooks.c (default_return_in_memory): Allow
unconverted ports.

From-SVN: r71085

gcc/ChangeLog
gcc/targhooks.c

index 5eb0b96e4f99ad6bb55c420f9fab05779deab2ab..e2c0fc6865d5ff3d4f46e618e8e51f425f909193 100644 (file)
@@ -1,3 +1,8 @@
+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
index fe0bc0f5e4e9375b1997897447e7c2246577ec6a..7654e230b839bc054672abfdb47f58a2af60f5c6 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