(FUNCTION_VALUE): Use

POINTER_TYPE_P rather than checking the type against POINTER_TYPE
        (to include references).

From-SVN: r8459
This commit is contained in:
Jason Merrill 1994-11-16 00:48:05 +00:00
parent 8eda074c87
commit 9a2073d855
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ while (0)
#define FUNCTION_VALUE(VALTYPE, FUNC) \
(TREE_CODE (VALTYPE) == REAL_TYPE && TARGET_68881 \
? gen_rtx (REG, TYPE_MODE (VALTYPE), 16) \
: (TREE_CODE (VALTYPE) == POINTER_TYPE \
: (POINTER_TYPE_P (VALTYPE) \
? gen_rtx (REG, TYPE_MODE (VALTYPE), 8) \
: gen_rtx (REG, TYPE_MODE (VALTYPE), 0)))