]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/calls.cc
function.c (aggregate_value_p): Get fntype from CALL_EXPR in any case.
authorKai Tietz <kai.tietz@onevision.com>
Tue, 9 Dec 2008 09:14:28 +0000 (09:14 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Tue, 9 Dec 2008 09:14:28 +0000 (10:14 +0100)
commit457691343552e43ffbce002ef2bd4065e09d7c39
tree22389f9764187766baa819ce9d1fcc32e25e5dc3
parentf2dc2f86ae47e722651f005b31ca435e3f1f231f
function.c (aggregate_value_p): Get fntype from CALL_EXPR in any case.

2008-12-09  Kai Tietz  <kai.tietz@onevision.com>

PR/38366
* function.c (aggregate_value_p): Get fntype from CALL_EXPR in any
case.
* calls.c (nitialize_argument_information): Add fntype argument
and use it for calls.promote_function_args.
        (expand_call): Pass fntype to aggregate_value_p if no fndecl
available and pass additional fntype to
initialize_argument_information.
* config/i386/i386.c (ix86_reg_parm_stack_space): Remove cfun part
to get function abi type.
(init_cumulative_args): Use for abi kind detection fntype, when no
fndecl is available.

From-SVN: r142584
gcc/ChangeLog
gcc/calls.c
gcc/config/i386/i386.c
gcc/function.c