https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955
--- Comment #27 from Tom de Vries <vries at gcc dot gnu.org> --- Author: vries Date: Sun Aug 28 07:41:52 2016 New Revision: 239806 URL: https://gcc.gnu.org/viewcvs?rev=239806&root=gcc&view=rev Log: Backport "Tag {ms,sysv}_va_list_type_node with '{ms,sysv}_abi va_list' attribute" 2016-08-28 Tom de Vries <t...@codesourcery.com> backport from trunk: 2016-08-28 Tom de Vries <t...@codesourcery.com> PR lto/70955 * config/i386/i386.c (ix86_build_builtin_va_list_64): Tag type with 'sysv_abi va_list' attribute. (ix86_build_builtin_va_list): Tag type with 'ms_abi va_list' attribute. (ix86_canonical_va_list_type): Handle 'sysv_abi/ms_abi va_list' attributes. * gcc.dg/pr70955.c: New test. * gcc.dg/lto/pr70955_0.c: Same. * gcc.dg/lto/pr70955_1.c: Same. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr70955_0.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr70955_1.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr70955.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/i386.c branches/gcc-6-branch/gcc/testsuite/ChangeLog