diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-19 22:37:49 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-19 22:37:49 +0000 |
commit | 3636964b97fe3f095c06e7f4456887edcd5bacde (patch) | |
tree | 75764dc68d3b47da1315519f474d62d5a2262f04 /gcc/doc/options.texi | |
parent | 2108e7ffbf81b5d43a5f80df8227b77ed67d2d6c (diff) | |
download | gcc-3636964b97fe3f095c06e7f4456887edcd5bacde.tar.gz |
gcc/ChangeLog:
2014-08-20 Manuel López-Ibáñez <manu@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 <manu@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 <manu@gcc.gnu.org>
PR c/60975
PR c/53063
* gcc.dg/cpp/Wvariadic-1p.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214200 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/options.texi')
-rw-r--r-- | gcc/doc/options.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi index 938017adeac..ac4452e6ff4 100644 --- a/gcc/doc/options.texi +++ b/gcc/doc/options.texi @@ -482,4 +482,9 @@ The option is omitted from the producer string written by @item PchIgnore Even if this is a target option, this option will not be recorded / compared to determine if a precompiled header file matches. + +@item CPP(@var{var}) +The state of this option should be kept in sync with the preprocessor +option @var{var}. + @end table |