projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be82287
)
pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return type of DECL.
author
Jeff Law
<law@gcc.gnu.org>
Thu, 10 Dec 1992 02:00:36 +0000
(19:00 -0700)
committer
Jeff Law
<law@gcc.gnu.org>
Thu, 10 Dec 1992 02:00:36 +0000
(19:00 -0700)
*pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return
type of DECL.
From-SVN: r2853
gcc/config/pa/pa.h
patch
|
blob
|
history
diff --git
a/gcc/config/pa/pa.h
b/gcc/config/pa/pa.h
index
fcfc901
..
6d03d47
100644
(file)
--- a/
gcc/config/pa/pa.h
+++ b/
gcc/config/pa/pa.h
@@
-817,7
+817,7
@@
extern enum cmp_type hppa_branch_type;
#endif
#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \
- do { tree fntype =
DECL_RESULT (DECL);
\
+ do { tree fntype =
TREE_TYPE (TREE_TYPE (DECL));
\
tree tree_type = TREE_TYPE (DECL); \
tree parm; \
int i; \