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 tree-optimization/80122] __builtin_va_arg_pack() and __builtin_va_arg_pack_len() does not work correctly


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80122

--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 21 Mar 2017, rpirrera at aitek dot it wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80122
> 
> --- Comment #6 from rpirrera at aitek dot it ---
> How this work now?

It works by not replacing va_arg_pack/nargs when inlining a call
that itself uses va_arg_pack.

> We can expect a back port to versions 5.4 and 6.3 of this patch? Or this will
> exist only in the future version 7.x?

I plan to backport it if no issues show up (the patch should apply cleanly
to 6.3 at least so you can try yourself as well)

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