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 10:25:36PM -0400, David Edelsohn wrote:
> The ABIs on which this extension works pass structures by
> reference.
Not exactly correct. It also works on ABIs for which variable
sized arrays are always passed on the stack (and never in registers).
> Maybe GCC should warn/error when it encounters this construct of
> passing a variable sized aggregate parameter ...
Feel free.
r~