https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53063
--- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- Author: manu Date: Tue Aug 19 22:37:49 2014 New Revision: 214200 URL: https://gcc.gnu.org/viewcvs?rev=214200&root=gcc&view=rev Log: gcc/ChangeLog: 2014-08-20 Manuel López-Ibáñez <m...@gcc.gnu.org> PR c/60975 PR c/53063 * doc/options.texi (CPP): Document it. * doc/invoke.texi (Wvariadic-macros): Fix documentation. * optc-gen.awk: Handle CPP. * opth-gen.awk: Likewise. gcc/c-family/ChangeLog: 2014-08-20 Manuel López-Ibáñez <m...@gcc.gnu.org> PR c/60975 PR c/53063 * c.opt (Wvariadic-macros): Use CPP and LangEnabledBy. * c-opts.c (c_common_handle_option): Call cpp_handle_option_auto. (c_common_post_options): Call init_global_opts_from_cpp. (sanitize_cpp_opts): Do not handle Wvariadic-macros here. gcc/testsuite/ChangeLog: 2014-08-20 Manuel López-Ibáñez <m...@gcc.gnu.org> PR c/60975 PR c/53063 * gcc.dg/cpp/Wvariadic-1p.c: New test. Added: trunk/gcc/testsuite/gcc.dg/cpp/Wvariadic-1p.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-opts.c trunk/gcc/c-family/c.opt trunk/gcc/doc/invoke.texi trunk/gcc/doc/options.texi trunk/gcc/optc-gen.awk trunk/gcc/opth-gen.awk trunk/gcc/testsuite/ChangeLog