This is the mail archive of the gcc@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]

Re: PREFERRED_STACK_BOUNDARY clarification desired


> >    STACK_SIZE is the number of bytes of arguments on the stack,
> >    rounded up to PREFERRED_STACK_BOUNDARY; zero if the size is variable.
> >    This is both to put into the call insn and
> >    to generate explicit popping code if necessary.
> > 
> > leads me to believe that I need to handle it, however this isn't
> > what I see being generated.
> Do you mean handle it on the caller or callee side?
> 
> I don't think it's possible to handle it in the caller unless you account for
> the pc save at the call sites.

I handle it on the callee side.

-- John



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