This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/68833] [6 Regression] -Werror=format issues an error now


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68833

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Dec 14 16:59:05 2015
New Revision: 231624

URL: https://gcc.gnu.org/viewcvs?rev=231624&root=gcc&view=rev
Log:
        PR c/68833
        * common.opt (Wmissing-noreturn): Add Warning option.
        * opts-common.c (control_warning_option): If opt is
        alias_target with alias_arg, set arg to it.

        * c.opt (Wmissing-format-attribute, Wnormalized): Add Warning option.

        * c-c++-common/pr68833-1.c: New test.
        * c-c++-common/pr68833-2.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/pr68833-1.c
    trunk/gcc/testsuite/c-c++-common/pr68833-2.c
    trunk/gcc/testsuite/c-c++-common/pr68833-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c.opt
    trunk/gcc/common.opt
    trunk/gcc/opts-common.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]