[Bug c/78768] -Walloca-larger-than and -Wformat-length warnings disabled by -flto
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 11 17:29:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78768
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Wed Jan 11 17:28:52 2017
New Revision: 244326
URL: https://gcc.gnu.org/viewcvs?rev=244326&root=gcc&view=rev
Log:
PR c/78768 - -Walloca-larger-than and -Wformat-length warnings disabled by
-flto
gcc/ChangeLog:
* c.opt (-Walloca-larger-than, -Wformat-length, -Wformat-truncation):
Also enable for LTO.
gcc/testsuite/ChangeLog:
PR c/78768
* gcc.dg/pr78768.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr78768.c
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c.opt
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list