Commit e1336658 by Jim Wilson

(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
parent 76cf6e12
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment