re PR c/68833 (-Werror=format issues an error now)
authorJakub Jelinek <jakub@redhat.com>
Mon, 14 Dec 2015 16:59:05 +0000 (17:59 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 14 Dec 2015 16:59:05 +0000 (17:59 +0100)
commit54d62f5148febdf714fa374a10a72c73850ed6bb
tree107d66ef4eb8cce1efee494ba91a5442b067d48a
parentd84ffc0a56d84a02929fa67d2edb52d4b81fab37
re PR c/68833 (-Werror=format issues an error now)

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.

From-SVN: r231624
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c.opt
gcc/common.opt
gcc/opts-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr68833-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/pr68833-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/pr68833-3.c [new file with mode: 0644]