This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gimple va_arg for arm
On Wed, Jul 14, 2004 at 06:33:59PM +0100, Richard Earnshaw wrote:
> On Thu, 2004-07-08 at 23:11, Richard Henderson wrote:
> > Not committed, since I'm not 100% certain about the curiousness with
> > the alignment of arg_pointer_rtx. It seems to me that if it's necessary
> > to reduce the alignment for va_arg, then its necessary all of the time.
>
> Not necessarily. The ABI is perfectly entitled to say that arguments to
> a variadic function are marshaled in different way to non-variadic
> function.
The question was not about marshalling, but about the alignment
of arg_pointer_rtx.
> ... or alternatively it might be a hang-over from the initial wireless
> MMX port (which used an ABI that didn't really have double-word
> alignment). If it's the latter then the hack may now be redundant, but
> I haven't had time to look into that yet.
I can believe that.
Thanks for the testing.
r~