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.