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: 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


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