https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue Mar 6 20:06:29 2018 New Revision: 258295 URL: https://gcc.gnu.org/viewcvs?rev=258295&root=gcc&view=rev Log: Backport r256989 2018-03-06 Martin Liska <mli...@suse.cz> Backport from mainline 2018-01-23 Martin Liska <mli...@suse.cz> PR lto/81440 * lto-symtab.c (lto_symtab_merge): Handle and do not warn about trailing arrays at the end of a struct. 2018-03-06 Martin Liska <mli...@suse.cz> Backport from mainline 2018-01-23 Martin Liska <mli...@suse.cz> PR lto/81440 * gcc.dg/lto/pr81440.h: New test. * gcc.dg/lto/pr81440_0.c: New test. * gcc.dg/lto/pr81440_1.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr81440.h branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr81440_0.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr81440_1.c Modified: branches/gcc-7-branch/gcc/lto/ChangeLog branches/gcc-7-branch/gcc/lto/lto-symtab.c branches/gcc-7-branch/gcc/testsuite/ChangeLog