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
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: rth at redhat dot com (Richard Henderson), gcc at gcc dot gnu dot org
- Date: Sat, 07 Sep 2002 23:41:12 -0400
- Subject: Re: Use of VLA in struct in gcc-torture/execute/20020412-1.c
>>>>> John David Anglin writes:
>> Not exactly correct. It also works on ABIs for which variable
>> sized arrays are always passed on the stack (and never in registers).
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.
David