(expand_call): When MAYBE_REG_PARM_STACK_SPACE defined,

if reg_parm_stack_space is zero, set args_size.constant to zero.

From-SVN: r3488
This commit is contained in:
Jim Wilson 1993-02-18 17:14:55 -08:00
parent 76cf6e120e
commit e133665800
1 changed files with 4 additions and 0 deletions

View File

@ -1098,6 +1098,10 @@ expand_call (exp, target, ignore)
#ifdef REG_PARM_STACK_SPACE
args_size.constant = MAX (args_size.constant,
reg_parm_stack_space);
#ifdef MAYBE_REG_PARM_STACK_SPACE
if (reg_parm_stack_space == 0)
args_size.constant = 0;
#endif
#ifndef OUTGOING_REG_PARM_STACK_SPACE
args_size.constant -= reg_parm_stack_space;
#endif