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: [RFC] sibling-call optimization violates PPC ABI on darwin


On Sat, Aug 24, 2002 at 10:30:17PM -0400, David Edelsohn wrote:
> 
> 	I believe that you are referring to the addition to the ABI which
> GCC will perform when invoked with the -mxl-call option.  That option
> currently is not available for the Darwin configuration.
> 
> 	The ABI "feature" only is necessary to handle an embarrassment
> when using varargs (not stdarg) while mixing K&R and ANSI C (no place on
> the stack to store the arguments if their address is taken).  In all other
> cases, it just an unnecessary performance hit, which is why GCC only
> implements it as an option.  This case will never happen with Darwin and
> Mac OS X.

Varargs support has been removed; perhaps this "feature" can go too.

zw


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