Commit 9516a9af by Doug Evans

* (RETURN_IN_MEMORY): Handle BLKmode values.

From-SVN: r3711
parent b49e978e
...@@ -458,7 +458,8 @@ enum reg_class { NO_REGS, LONG_REGS, GENERAL_REGS, SP_REG, ALL_REGS, LIM_REG_CLA ...@@ -458,7 +458,8 @@ enum reg_class { NO_REGS, LONG_REGS, GENERAL_REGS, SP_REG, ALL_REGS, LIM_REG_CLA
#define STRUCT_VALUE_INCOMING 0 #define STRUCT_VALUE_INCOMING 0
/* Return true if X should be returned in memory. */ /* Return true if X should be returned in memory. */
#define RETURN_IN_MEMORY(X) (GET_MODE_SIZE (TYPE_MODE (X)) > 4) #define RETURN_IN_MEMORY(X) \
(TYPE_MODE (X) == BLKmode || GET_MODE_SIZE (TYPE_MODE (X)) > 4)
/* When defined, the compiler allows registers explicitly used in the /* When defined, the compiler allows registers explicitly used in the
rtl to be used as spill registers but prevents the compiler from rtl to be used as spill registers but prevents the compiler from
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment