[Bug c/68833] [6 Regression] -Werror=format issues an error now
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 14 16:59:00 GMT 2015
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
More information about the Gcc-bugs
mailing list