From: Per Bothner Date: Fri, 29 Dec 1995 19:05:20 +0000 (-0800) Subject: * function.c (assign_parms): Fix thinko for struct value arg. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9f29478ede81b8248f8768cf27201e9e7421ecd;p=gcc.git * function.c (assign_parms): Fix thinko for struct value arg. From-SVN: r10897 --- diff --git a/gcc/function.c b/gcc/function.c index d1e2859b704..5624dac6b54 100644 --- 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);