summaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-10-17 16:27:38 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-10-17 16:27:38 -0700
commit686667bf14b391ecac8082cd4fd91b418c236546 (patch)
tree9eb5fbceb87f593c0887d2618d105482c58e99b0 /gcc/config/sparc
parentaf173031117aeab07c5b0a68402106c14c8b7fd4 (diff)
downloadgcc-686667bf14b391ecac8082cd4fd91b418c236546.tar.gz
(RETURN_IN_MEMORY): Return true for TCmode values.
From-SVN: r8295
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/sparc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index e0254195154..03d9b5c0395 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -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.