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: Dale Johannesen <dalej at apple dot com>
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Cc: Dale Johannesen <dalej at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Dec 2002 11:08:41 -0800
- Subject: Re: Patch: fix regression in PPC sibcalls
On Friday, December 27, 2002, at 10:25 AM, Franz Sirl wrote:
Does this cover the REG_PARM_STACK_SPACE defined to 0 case as well?
I'm not sure. The doc describes this macro as:
|Define this macro if functions should assume that stack space has
been
|allocated for arguments even when their values are passed in
|registers.
That is exactly the condition I want to test, so *if* the macro is
being
used in accordance with that description, then yes. I don't
understand
when it would be set to 0 well enough to evaluate whether the actual
usage follows that description, however.
See the usage in rs6000.h.
I saw it, but I'm not sure what it means. I would assume something like
"caller allocates the stack space [as described above], but we don't
know at
compile time how much space that is." Is that right? If so my patch
is correct.