diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-11-07 18:27:14 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-11-07 18:27:14 +0000 |
commit | 7332899a4225f89d820af7c04bfdcd0be05f44e3 (patch) | |
tree | 3c564bf33de77ab471b06b630abe131896fc4fb8 /gcc/config.gcc | |
parent | 0829c7f7c5210cd1581042115cfe95c97283f44c (diff) | |
download | gcc-7332899a4225f89d820af7c04bfdcd0be05f44e3.zip gcc-7332899a4225f89d820af7c04bfdcd0be05f44e3.tar.gz gcc-7332899a4225f89d820af7c04bfdcd0be05f44e3.tar.bz2 |
re PR c/53063 (encode group options in the .opt files)
gcc/
2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/53063
* doc/invoke.texi (Wformat): Update.
c-family/
2012-11-07 Manuel López-Ibáñez <manu@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 <manu@gcc.gnu.org>
PR c/53063
* gcc.dg/warn-nsstring.c: Use -Wformat explicitly.
From-SVN: r193304
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions