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 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.


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