This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/80122] __builtin_va_arg_pack() and __builtin_va_arg_pack_len() does not work correctly
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Mar 2017 15:13:52 +0000
- Subject: [Bug tree-optimization/80122] __builtin_va_arg_pack() and __builtin_va_arg_pack_len() does not work correctly
- Auto-submitted: auto-generated
- References: <bug-80122-4@http.gcc.gnu.org/bugzilla/>
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)