This is the mail archive of the
mailing list for the GCC project.
Re: fix vector varargs parameter passing on darwin
On Mon, Nov 10, 2003 at 09:11:42PM -0800, Geoff Keating wrote:
> 2. Supporting only ISO C; in particular, you must prototype a varargs
> function. (Therefore, a non-prototyped function is not varargs, and
> when you encounter a call to it you know what the types of its
> parameters are.)
Oh, OK. That would work. I'm quite glad that we're not going to follow
this nonsense on powerpc64-linux. ;-)
I figure it's better to leave the job of rearranging function call
arguments and so forth to an interprocedural optimization pass. For
many function calls on ppc64, you could save not just a few bytes wasted
to alignment, but the whole of the reserved parameter area and other
dead spots on the stack.
IBM OzLabs - Linux Technology Centre