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: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: dje at watson dot ibm dot com (David Edelsohn)
- Cc: rth at redhat dot com, gcc at gcc dot gnu dot org
- Date: Sun, 8 Sep 2002 15:14:02 -0400 (EDT)
- Subject: Re: Use of VLA in struct in gcc-torture/execute/20020412-1.c
Another question, what should FUNCTION_ARG do about arguments that have
a zero size (e.g., an empty struct, another GCC extension)? It doesn't
seem to make much sense to pass them by value. There is no discussion
as to the purpose of empty structures in extend.texi that I could find.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)