From 756e0e12edcae60806af0088f75d46eb5399a551 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Fri, 22 May 1992 21:40:29 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r1058 --- gcc/calls.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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) { -- 2.30.2