This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Use of VLA in struct in gcc-torture/execute/20020412-1.c
On Sat, Sep 07, 2002 at 11:41:12PM -0400, David Edelsohn wrote:
> John> Why never in registers? In the PA64 ABI, the registers mirror the
> John> stack and the callee can save the registers to the stack if it wants.
> John> The same is also true for the 32-bit ABI.
>
> It simply is missing functionality in the common part of GCC.
> Richard's statement is not that it cannot be done, it is a statement of
> the facts about the current support in GCC.
Actually, no. Think about how subsequent arguments must be
handled. I.e. foo in
void f(variable_sized v, int foo);
I remember looking at this issue for sparc64 and concluding
that it couldn't be done.
r~