gcc/libcpp
Manuel López-Ibáñez 2b71f4a4f8 options.texi: Document that Var and Init are required if CPP is given.
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
2014-09-04 15:13:40 +00:00
..
include options.texi: Document that Var and Init are required if CPP is given. 2014-09-04 15:13:40 +00:00
po * de.po: Update. 2014-03-18 16:04:06 +00:00
ChangeLog options.texi: Document that Var and Init are required if CPP is given. 2014-09-04 15:13:40 +00:00
Makefile.in Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
aclocal.m4 Undo inadvertent commit in rev 160105. 2010-06-01 10:20:24 -04:00
charset.c c-opts.c (sanitize_cpp_opts): Make warn_long_long be set according to warn_c90_c99_compat. 2014-08-19 05:34:31 +00:00
config.in configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure.ac configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
directives-only.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
directives.c directives.c (check_eol_1): New. 2014-08-29 16:06:19 +00:00
errors.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
expr.c options.texi: Document that Var and Init are required if CPP is given. 2014-09-04 15:13:40 +00:00
files.c re PR c/61212 (gcc build failure on "dos file system" due to warnings treated as errors) 2014-05-21 18:54:12 +00:00
identifiers.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
init.c options.texi: Document that Var and Init are required if CPP is given. 2014-09-04 15:13:40 +00:00
internal.h Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
lex.c cpplib.h (cpp_options): Use signed char. 2014-08-20 04:12:58 +00:00
line-map.c Support location tracking for built-in macro tokens 2014-07-16 12:33:27 +02:00
macro.c options.texi: Document that Var and Init are required if CPP is given. 2014-09-04 15:13:40 +00:00
makeucnid.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
mkdeps.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
pch.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
symtab.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
system.h Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
traditional.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
ucnid.h Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
ucnid.tab Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00