This is the mail archive of the gcc-bugs@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]

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


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


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