diff options
author | Richard Stallman <rms@gnu.org> | 1992-05-22 21:40:29 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-05-22 21:40:29 +0000 |
commit | 756e0e12edcae60806af0088f75d46eb5399a551 (patch) | |
tree | 04c07f30a35aad7f086db891c56bad93b1655bde | |
parent | 4803a34aa2e83749b072d1b30106fd3dae5f1cf5 (diff) | |
download | gcc-756e0e12edcae60806af0088f75d46eb5399a551.zip gcc-756e0e12edcae60806af0088f75d46eb5399a551.tar.gz gcc-756e0e12edcae60806af0088f75d46eb5399a551.tar.bz2 |
*** empty log message ***
From-SVN: r1058
-rw-r--r-- | gcc/calls.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 99eb8e9..2b5da07 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) { |