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]
Other format: [Raw text]

Re: powerpc64 builtin_va_arg and variable size structures


On Mon, Mar 31, 2003 at 09:19:57PM -0500, David Edelsohn wrote:
> >>>>> 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.

I see.  A little more searching revealed
http://gcc.gnu.org/ml/gcc-patches/2003-01/msg02373.html

Can that go on the 3.3 branch to fix this corner case, please?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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