This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: fix regression in PPC sibcalls


On Saturday 21 December 2002 20:21, Dale Johannesen wrote:
> This patch breaks ppc (also sparc and probably others, I think)
> sibcalls:
>
> Wed Apr 24 21:58:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
>          * calls.c (expand_call): Take current_function_pretend_args_size
>          into account when setting argblock for sibcalls.
>
> It is not right to do the adjustment in that patch when the caller has
> already allocated
> the stack space for partially-in-regs params, that is, when
> REG_PARM_STACK_SPACE is defined.
> Bootstrapped and tested on darwin.
>
> 2002-12-21  Dale Johannesen  <dalej@apple.com>
>
>          * calls.c (expand_call):  Fix sibcalls on REG_PARM_STACK_SPACE
> machines.

Does this cover the REG_PARM_STACK_SPACE defined to 0 case as well?

Franz.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]