gcc/ChangeLog: 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org> * doc/options.texi: Document that Var and Init are required if CPP is given. * optc-gen.awk: Require Var and Init if CPP is given. * common.opt (Wpedantic): Use Init. libcpp/ChangeLog: 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org> * macro.c (replace_args): Use cpp_pedwarning, cpp_warning and CPP_W flags. * include/cpplib.h: Add CPP_W_C90_C99_COMPAT and CPP_W_PEDANTIC. * init.c (cpp_create_reader): Do not init to -1 here. * expr.c (num_binary_op): Use cpp_pedwarning. gcc/c-family/ChangeLog: 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org> * c.opt (Wc90-c99-compat,Wc++-compat,Wcomment,Wendif-labels, Winvalid-pch,Wlong-long,Wmissing-include-dirs,Wmultichar,Wpedantic, (Wdate-time,Wtraditional,Wundef,Wvariadic-macros): Add CPP, Var and Init. * c-opts.c (c_common_handle_option): Do not handle here. (sanitize_cpp_opts): Likewise. * c-common.c (struct reason_option_codes_t): Handle CPP_W_C90_C99_COMPAT and CPP_W_PEDANTIC. gcc/testsuite/ChangeLog: 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org> * gcc.dg/cpp/endif-pedantic2.c: More general options do not override specific ones, but specific ones do. From-SVN: r214904
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| ChangeLog | Loading commit data... | |
| array-notation-common.c | Loading commit data... | |
| c-ada-spec.c | Loading commit data... | |
| c-ada-spec.h | Loading commit data... | |
| c-cilkplus.c | Loading commit data... | |
| c-common.c | Loading commit data... | |
| c-common.def | Loading commit data... | |
| c-common.h | Loading commit data... | |
| c-cppbuiltin.c | Loading commit data... | |
| c-dump.c | Loading commit data... | |
| c-format.c | Loading commit data... | |
| c-format.h | Loading commit data... | |
| c-gimplify.c | Loading commit data... | |
| c-lex.c | Loading commit data... | |
| c-objc.h | Loading commit data... | |
| c-omp.c | Loading commit data... | |
| c-opts.c | Loading commit data... | |
| c-pch.c | Loading commit data... | |
| c-ppoutput.c | Loading commit data... | |
| c-pragma.c | Loading commit data... | |
| c-pragma.h | Loading commit data... | |
| c-pretty-print.c | Loading commit data... | |
| c-pretty-print.h | Loading commit data... | |
| c-semantics.c | Loading commit data... | |
| c-target-def.h | Loading commit data... | |
| c-target.def | Loading commit data... | |
| c-target.h | Loading commit data... | |
| c-ubsan.c | Loading commit data... | |
| c-ubsan.h | Loading commit data... | |
| c.opt | Loading commit data... | |
| cilk.c | Loading commit data... | |
| cppspec.c | Loading commit data... | |
| stub-objc.c | Loading commit data... |