* config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
!TARGET_H8300.
From-SVN: r67759
+2003-06-11 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
+ !TARGET_H8300.
+
2003-06-11 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (final_prescan_insn): Don't dump rtl.
#define STRUCT_VALUE 0
/* Return true if X should be returned in memory. */
-#define RETURN_IN_MEMORY(X) \
- (TYPE_MODE (X) == BLKmode || GET_MODE_SIZE (TYPE_MODE (X)) > 4)
+#define RETURN_IN_MEMORY(X) \
+ (TYPE_MODE (X) == BLKmode \
+ || GET_MODE_SIZE (TYPE_MODE (X)) > (TARGET_H8300 ? 4 : 8))
/* When defined, the compiler allows registers explicitly used in the
rtl to be used as spill registers but prevents the compiler from