(RETURN_IN_MEMORY): Return true for TCmode values.
authorJim Wilson <wilson@gcc.gnu.org>
Mon, 17 Oct 1994 23:27:38 +0000 (16:27 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 17 Oct 1994 23:27:38 +0000 (16:27 -0700)
From-SVN: r8295

gcc/config/sparc/sparc.h

index e025419515415fa3cfda979bc4397caac3643677..03d9b5c039557ba197acd677b822d45d6a917ffc 100644 (file)
@@ -747,8 +747,10 @@ extern int leaf_function;
 /* Sparc ABI says that quad-precision floats and all structures are returned
    in memory.
    For v9, all aggregates are returned in memory.  */
-#define RETURN_IN_MEMORY(TYPE) \
-  (TYPE_MODE (TYPE) == BLKmode || (! TARGET_V9 && TYPE_MODE (TYPE) == TFmode))
+#define RETURN_IN_MEMORY(TYPE)                         \
+  (TYPE_MODE (TYPE) == BLKmode                         \
+   || (! TARGET_V9 && (TYPE_MODE (TYPE) == TFmode      \
+                      || TYPE_MODE (TYPE) == TCmode)))
 
 /* Functions which return large structures get the address
    to place the wanted value at offset 64 from the frame.