projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eda074
)
(FUNCTION_VALUE): Use
author
Jason Merrill
<merrill@gnu.org>
Wed, 16 Nov 1994 00:48:05 +0000
(
00:48
+0000)
committer
Jason Merrill
<merrill@gnu.org>
Wed, 16 Nov 1994 00:48:05 +0000
(
00:48
+0000)
POINTER_TYPE_P rather than checking the type against POINTER_TYPE
(to include references).
From-SVN: r8459
gcc/config/m68k/m68kv4.h
patch
|
blob
|
history
diff --git
a/gcc/config/m68k/m68kv4.h
b/gcc/config/m68k/m68kv4.h
index a3b662adf0431b6946836b747192f9d8682b47b5..4d1755090767eafd6f537e36230fa0c5098ee267 100644
(file)
--- a/
gcc/config/m68k/m68kv4.h
+++ b/
gcc/config/m68k/m68kv4.h
@@
-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)))