[Bug target/14557] va_list is automatically taken address-of when passed as argument

zack at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Sat Mar 13 21:55:00 GMT 2004


------- Additional Comments From zack at codesourcery dot com  2004-03-13 21:55 -------
Subject: Re:  va_list is automatically taken address-of
 when passed as argument

"jsm at polyomino dot org dot uk" <gcc-bugzilla@gcc.gnu.org> writes:
> The trouble is that in this example you're taking the address of a
> pointer to the first element of the array (namely, the parameter
> declared with the array type va_list which has pointer type because
> of the adjustment of parameter types).

Ah, so what's unportable is taking the address of a va_list which has
been passed to you as a value parameter?  This I can see.

zw


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557



More information about the Gcc-bugs mailing list