This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36675] va_list argument breaks inlining (ambiguous warning).
- From: "laurent dot deniau at cern dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2008 16:01:29 -0000
- Subject: [Bug c/36675] va_list argument breaks inlining (ambiguous warning).
- References: <bug-36675-1578@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from laurent dot deniau at cern dot ch 2008-06-30 16:01 -------
Subject: Re: va_list argument breaks inlining (ambiguous warning).
rguenth at gcc dot gnu dot org wrote:
>
> ------- Comment #1 from rguenth at gcc dot gnu dot org 2008-06-30 15:46 -------
> The inlining is prohibited by the use of va_start, va_next and va_end, not
> by merely passing around va_list.
What is va_next, do you mean va_arg?
I understand the position for va_start+va_end. But what about just using
va_copy+va_end?
Whatever if it's the criteria for prohibiting the inlining, I agree with
the wording of the warning.
Thanks for your fast reply.
Regards.
ld.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36675