From: Richard Stallman Date: Fri, 22 May 1992 21:40:29 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=756e0e12edcae60806af0088f75d46eb5399a551;p=gcc.git *** empty log message *** From-SVN: r1058 --- diff --git a/gcc/calls.c b/gcc/calls.c index 99eb8e95e01..2b5da07533c 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1337,6 +1337,14 @@ expand_call (exp, target, ignore) #endif #endif + /* If register arguments require space on the stack and stack space + was not preallocated, allocate stack space here for arguments + passed in registers. */ +#if ! defined(ALLOCATE_OUTGOING_ARGS) && defined(OUTGOING_REG_PARM_STACK_SPACE) + if (must_preallocate == 0 && reg_parm_stack_space > 0) + anti_adjust_stack (gen_rtx (CONST_INT, VOIDmode, reg_parm_stack_space)); +#endif + /* Pass the function the address in which to return a structure value. */ if (structure_value_addr && ! structure_value_addr_parm) {