[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 7 09:48:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440
--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Mar 7 09:47:46 2018
New Revision: 258328
URL: https://gcc.gnu.org/viewcvs?rev=258328&root=gcc&view=rev
Log:
Backport r256989
2018-03-07 Martin Liska <mliska@suse.cz>
Backport from mainline
2018-01-23 Martin Liska <mliska@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-07 Martin Liska <mliska@suse.cz>
Backport from mainline
2018-01-23 Martin Liska <mliska@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-6-branch/gcc/testsuite/gcc.dg/lto/pr81440.h
branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr81440_0.c
branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr81440_1.c
Modified:
branches/gcc-6-branch/gcc/lto/ChangeLog
branches/gcc-6-branch/gcc/lto/lto-symtab.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list