https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84212
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> --- Author: msebor Date: Fri Feb 9 17:58:54 2018 New Revision: 257534 URL: https://gcc.gnu.org/viewcvs?rev=257534&root=gcc&view=rev Log: PR lto/84212 - -Wno-* does not disable warnings from -flto link stage gcc/c-family/ChangeLog: PR lto/84212 * c.opt (-Wstringop-overflow, -Warray-bounds): Add LTO. (-Walloc-size-larger-than, -Wformat-truncation=): Same. (-Wmaybe-uninitialized, -Wnonnull, -Wrestrict): Same. (-Wstrict-overflow, -Wsuggest-attribute): Same. (-Wuninitialized): Same. gcc/testsuite/ChangeLog: PR lto/84212 * gcc.dg/lto/pr84212_0.c: New test file. * gcc.dg/lto/pr84212_1.c: Same. Added: trunk/gcc/testsuite/gcc.dg/lto/pr84212_0.c trunk/gcc/testsuite/gcc.dg/lto/pr84212_1.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c.opt trunk/gcc/testsuite/ChangeLog