diff options
author | Jeff Law <law@gcc.gnu.org> | 1992-12-09 19:00:36 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1992-12-09 19:00:36 -0700 |
commit | 22a3ade0645d3b2335990d79c49ab23bd9093b53 (patch) | |
tree | 6f7997e97cd1d64e4d75c97114e6404152b8789c /gcc | |
parent | be82287d2f73ebd448415eeb5554e4697124ffb1 (diff) | |
download | gcc-22a3ade0645d3b2335990d79c49ab23bd9093b53.zip gcc-22a3ade0645d3b2335990d79c49ab23bd9093b53.tar.gz gcc-22a3ade0645d3b2335990d79c49ab23bd9093b53.tar.bz2 |
pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return type of DECL.
*pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return
type of DECL.
From-SVN: r2853
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/pa/pa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index fcfc901..6d03d47 100644 --- 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; \ |