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

Reply via email to