h8300.h (RETURN_IN_MEMORY): Accept DImode if !TARGET_H8300.

* config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
	!TARGET_H8300.

From-SVN: r67759
This commit is contained in:
Kazu Hirata 2003-06-11 12:05:04 +00:00 committed by Kazu Hirata
parent ca9d6ccabc
commit cf874806a6
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -635,8 +635,9 @@ enum reg_class {
#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