This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: fix regression in PPC sibcalls
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- To: Dale Johannesen <dalej at apple dot com>,gcc-patches at gcc dot gnu dot org
- Date: Fri, 27 Dec 2002 17:49:30 +0100
- Subject: Re: Patch: fix regression in PPC sibcalls
- References: <6BCF4B89-1519-11D7-8D73-000393D76DAA@apple.com>
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.