This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: powerpc64 builtin_va_arg and variable size structures
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: gcc at gcc dot gnu dot org, Geoffrey Keating <geoffk at geoffk dot org>
- Date: Mon, 31 Mar 2003 21:19:57 -0500
- Subject: Re: powerpc64 builtin_va_arg and variable size structures
>>>>> Alan Modra writes:
Alan> I can't see anything in the
Alan> PPC64 ABI that mandates special treatment for variable size
Alan> structures. Can someone say why function_arg behaves this way?
GCC parameter passing requires passing variable sized structures
by reference. It cannot handle passing by value. See the HP/PA port and
the discussion from last Fall.
David