]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/53063 (encode group options in the .opt files)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 16 Oct 2012 15:31:46 +0000 (15:31 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 16 Oct 2012 15:31:46 +0000 (15:31 +0000)
commit65d4f2cd2a488125a6522eeb6c9df5f890c7086f
tree4ce566a273abe5c8b53f22c6bfb4b3a8226b26e0
parent80de67b8059a3df4ef55dd2837a69bc4b0bc26f2
re PR c/53063 (encode group options in the .opt files)

2012-10-16  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c/53063
PR c/40989
gcc/
* optc-gen.awk: Handle new form of LangEnabledBy.
* opts.c (set_Wstrict_aliasing): Declare here. Make static.
* common.opt (Wstrict-aliasing=,Wstrict-overflow=): Do not use Init.
* doc/options.texi (LangEnabledBy): Document new form.
* flags.h (set_Wstrict_aliasing): Do not declare.
c-family/
* c.opt (Wstrict-aliasing=,Wstrict-overflow=): Use LangEnabledBy.
* c-opts.c (c_common_handle_option): Do not set them here. Add
comment.
(c_common_post_options): Likewise.
testsuite/
* gcc.dg/Wstrict-overflow-24.c: New.

From-SVN: r192502
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/c-family/c.opt
gcc/common.opt
gcc/doc/options.texi
gcc/flags.h
gcc/optc-gen.awk
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wstrict-overflow-24.c [new file with mode: 0644]