#define FUNCTION_VALUE(VALTYPE, FUNC) \
gen_rtx (REG, \
- ((TREE_CODE (VALTYPE) == INTEGER_TYPE \
- || TREE_CODE (VALTYPE) == ENUMERAL_TYPE \
- || TREE_CODE (VALTYPE) == BOOLEAN_TYPE \
- || TREE_CODE (VALTYPE) == CHAR_TYPE \
- || TREE_CODE (VALTYPE) == POINTER_TYPE \
- || TREE_CODE (VALTYPE) == OFFSET_TYPE) \
+ (INTEGRAL_MODE_P (TYPE_MODE (VALTYPE)) \
&& TYPE_PRECISION (VALTYPE) < BITS_PER_WORD) \
? word_mode : TYPE_MODE (VALTYPE), \
TARGET_FPREGS && TREE_CODE (VALTYPE) == REAL_TYPE ? 32 : 0)