This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR c/12446
"Joseph S. Myers" <jsm@polyomino.org.uk> writes:
| On Fri, 3 Oct 2003, Gabriel Dos Reis wrote:
|
| > That is not what comes from the quote to C90 standard and conclusions
| > in the discussion on comp.std.c. Note that the issue is "decaying a
| > non-value array to pointer", not its mere existence.
|
| To what specific message do you refer?
|
| The analysis that in C90 you can legitimately use va_arg with non-lvalue
| arrays (albeit never use the resulting value) is from older discussions,
| e.g.
| <http://groups.google.com/groups?selm=clcm-19990212-0007%40plethora.net>
Again, I'm not saying that you cannot pass a non-lvalue array through
a variadic function.
-- Gaby