Commit f9f29478 by Per Bothner

* function.c (assign_parms): Fix thinko for struct value arg.

From-SVN: r10897
parent 0a00070d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment