http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53063
--- Comment #8 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-11-07 18:27:22 UTC --- Author: manu Date: Wed Nov 7 18:27:14 2012 New Revision: 193304 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193304 Log: gcc/ 2012-11-07 Manuel López-Ibáñez <m...@gcc.gnu.org> PR c/53063 * doc/invoke.texi (Wformat): Update. c-family/ 2012-11-07 Manuel López-Ibáñez <m...@gcc.gnu.org> PR c/53063 * c.opt (Wformat): Make it Alias Wformat=1. (Wformat-contains-nul,Wformat-extra-args,Wformat-nonliteral, Wformat-security,Wformat-y2k,Wformat-zero-length): Use LangEnabledBy. (Wformat=): RejectNegative. Use LangEnabledBy. (Wnonnull): Use LangEnabledBy. * c-opts.c (c_common_handle_option): Do not handle Wformat here. * c-format.c (set_Wformat): Delete. (decode_format_attr): Replace OPT_Wformat with OPT_Wformat_. (maybe_read_dollar_number): Likewise. (avoid_dollar_number): Likewise. (finish_dollar_format_checking): Likewise. (check_format_info): Likewise. (check_format_info_main): Likewise. (check_format_types): Likewise. (format_type_warning): Likewise. * c-common.c (int): Likewise. (check_function_sentinel): Likewise. * c-common.h (warn_format,set_Wformat): Do not declare here. testsuite/ 2012-11-07 Manuel López-Ibáñez <m...@gcc.gnu.org> PR c/53063 * gcc.dg/warn-nsstring.c: Use -Wformat explicitly. Modified: trunk/gcc/ChangeLog trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/c-family/c-common.h trunk/gcc/c-family/c-format.c trunk/gcc/c-family/c-opts.c trunk/gcc/c-family/c.opt trunk/gcc/doc/invoke.texi trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/warn-nsstring.c