(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:
parent
76cf6e120e
commit
e133665800
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue