This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Aug 2016 13:09:43 +0000
- Subject: [Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto
- Auto-submitted: auto-generated
- References: <bug-70955-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955
--- Comment #20 from vries at gcc dot gnu.org ---
(In reply to Steven Shi from comment #19)
> (In reply to vries from comment #18)
> > Created attachment 39484 [details]
> > Tentative patch using attributes ms_abi/sysv_abi
> >
> > not build or regression tested yet, but at least makes test-case pass.
>
> Vries,
> I tried apply your patch on latest gcc trunk, build and install the new
> gcc7, it still cannot work.
I can reproduce the failure with your testcase. The failure disappears when I
apply the patch and rebuild. So, I can't reproduce your observation.
> Below is my test case.
Please next time refer to the PR rather than copy/pasting.