https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50581
--- Comment #8 from Andrew Pinski ---
I am hearing there is a C23 proposal to that might fix this.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50581
Steven Fuerst changed:
What|Removed |Added
CC||svfuerst at gmail dot com
--- Comment #7
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50581
--- Comment #6 from Wolfgang at Solfrank dot net 2011-10-02 16:08:51 UTC ---
(In reply to comment #5)
> On Sat, 1 Oct 2011, Wolfgang at Solfrank dot net wrote:
>
> > > Passing va_list as a function argument is generally hard, whether or not
> > >
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50581
--- Comment #5 from joseph at codesourcery dot com 2011-10-01 18:45:43 UTC ---
On Sat, 1 Oct 2011, Wolfgang at Solfrank dot net wrote:
> > Passing va_list as a function argument is generally hard, whether or not
> > variadic, since you don't kno
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50581
--- Comment #4 from Wolfgang at Solfrank dot net 2011-10-01 14:43:32 UTC ---
(In reply to comment #3)
Thanks for the insight regarding passing arrays by value in C90, I wasn't even
aware of that.
However:
> Passing va_list as a function argument
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50581
--- Comment #3 from joseph at codesourcery dot com 2011-10-01 14:07:42 UTC ---
On Sat, 1 Oct 2011, Wolfgang at Solfrank dot net wrote:
> > There is no possible valid use of passing arrays to va_arg.
>
> What makes you think so? While the 1003.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50581
--- Comment #2 from Wolfgang at Solfrank dot net 2011-10-01 11:06:48 UTC ---
(In reply to comment #1)
Sorry, I don't quite follow you:
> There is no possible valid use of passing arrays to va_arg.
What makes you think so? While the 1003.1 defin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50581
--- Comment #1 from joseph at codesourcery dot com 2011-09-30 19:41:17 UTC ---
There is no possible valid use of passing arrays to va_arg.
In C99, it is never possible for an array to be passed by value to a
function because it will have decayed