Commit 0df299ae by Roman Lechtchinsky Committed by Richard Sandiford

calls.c (store_one_arg): Make sure that the entire argument is pushed if...

	* calls.c (store_one_arg): Make sure that the entire argument is
	pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.

From-SVN: r45501
parent c347e68d
2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
* calls.c (store_one_arg): Make sure that the entire argument is
pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
2001-09-09 Richard Henderson <rth@redhat.com>
* emit-rtl.c (adjust_address): Fix mode for LO_SUM.
......
......@@ -4567,7 +4567,11 @@ store_one_arg (arg, argblock, flags, variable_size, reg_parm_stack_space)
/* If parm is passed both in stack and in register and offset is
greater than reg_parm_stack_space, split the offset. */
#ifndef STACK_PARMS_IN_REG_PARM_AREA
if (arg->reg && arg->pass_on_stack)
#else
if (1)
#endif
{
if (arg->offset.constant < reg_parm_stack_space && arg->offset.var)
error ("variable offset is passed paritially in stack and in reg");
......@@ -4583,8 +4587,6 @@ store_one_arg (arg, argblock, flags, variable_size, reg_parm_stack_space)
excess, argblock, ARGS_SIZE_RTX (arg->offset),
reg_parm_stack_space,
ARGS_SIZE_RTX (arg->alignment_pad));
size_rtx = GEN_INT (INTVAL(size_rtx) - reg_parm_stack_space);
}
}
......
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