calls.c (expand_call): Pass to REG_PARM_STACK_SPACE the type of the function...
commit5d059ed962692fac1fca10ede9e25c248c4eb726
authorKai Tietz <ktietz@gcc.gnu.org>
Wed, 26 Nov 2008 10:25:38 +0000 (26 11:25 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Wed, 26 Nov 2008 10:25:38 +0000 (26 11:25 +0100)
tree621ef40c81da803e778b7b7894a67ca0ec7220d4
parent89d926785d4e8a8f28318d6d3ea90d634d983e55
calls.c (expand_call): Pass to REG_PARM_STACK_SPACE the type of the function...

2008-11-26  Kai Tietz  <kai.tietz@onevision.com>

        PR/38227
        * calls.c (expand_call): Pass to REG_PARM_STACK_SPACE
        the type of the function, when there is no FUNCTION_DECL available.
        OUTGOING_REG_PARM_STACK_SPACE pass fntype, when no fndecl is available.
        (compute_argument_block_size): Add fntype argument.
        OUTGOING_REG_PARM_STACK_SPACE pass fntype, when no fndecl is available.
        (emit_library_call_value_1): Likewise.
        OUTGOING_REG_PARM_STACK_SPACE pass fntype, when no fndecl is available.
        * config/i386/i386.c (ix86_reg_parm_stack_space): Handle function types.
        * doc/tm.texi (REG_PARM_STACK_SPACE): Adjust documentation.

From-SVN: r142215
gcc/calls.c
gcc/config/i386/i386.c
gcc/doc/tm.texi