summaryrefslogtreecommitdiff
path: root/gcc/config/i386/i386-interix.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/i386-interix.h')
-rw-r--r--gcc/config/i386/i386-interix.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/i386/i386-interix.h b/gcc/config/i386/i386-interix.h
index 74e2892b545..40106d85869 100644
--- a/gcc/config/i386/i386-interix.h
+++ b/gcc/config/i386/i386-interix.h
@@ -357,5 +357,6 @@ extern void i386_pe_unique_section (tree, int);
#define DEFAULT_PCC_STRUCT_RETURN 0
-#undef TARGET_RETURN_IN_MEMORY
-#define TARGET_RETURN_IN_MEMORY ix86_i386interix_return_in_memory
+#define SUBTARGET_RETURN_IN_MEMORY(TYPE, FNTYPE) \
+ (TYPE_MODE (TYPE) == BLKmode \
+ || (AGGREGATE_TYPE_P (TYPE) && int_size_in_bytes (TYPE) > 8 )) \ No newline at end of file