projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a00070
)
* function.c (assign_parms): Fix thinko for struct value arg.
author
Per Bothner
<bothner@gcc.gnu.org>
Fri, 29 Dec 1995 19:05:20 +0000
(11:05 -0800)
committer
Per Bothner
<bothner@gcc.gnu.org>
Fri, 29 Dec 1995 19:05:20 +0000
(11:05 -0800)
From-SVN: r10897
gcc/function.c
patch
|
blob
|
history
diff --git
a/gcc/function.c
b/gcc/function.c
index d1e2859b704b6796019c466cb7a4fd2896b6e466..5624dac6b54fb2f2c0fc19f5ae1765bff4f3a636 100644
(file)
--- a/
gcc/function.c
+++ b/
gcc/function.c
@@
-3240,7
+3240,7
@@
assign_parms (fndecl, second_time)
&& ! current_function_returns_pcc_struct
&& struct_value_incoming_rtx == 0)
{
- tree type = build_pointer_type (
fntype
);
+ tree type = build_pointer_type (
TREE_TYPE (fntype)
);
function_result_decl = build_decl (PARM_DECL, NULL_TREE, type);