r214730 - in /trunk: gcc/c-family/ChangeLog gcc...

manu@gcc.gnu.org manu@gcc.gnu.org
Fri Aug 29 15:28:00 GMT 2014


Author: manu
Date: Fri Aug 29 15:28:45 2014
New Revision: 214730

URL: https://gcc.gnu.org/viewcvs?rev=214730&root=gcc&view=rev
Log:
libcpp/ChangeLog:

2014-08-29  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	* macro.c (warn_of_redefinition): Suppress warnings for builtins
	that lack the NODE_WARN flag, unless Wbuiltin-macro-redefined.
	(_cpp_create_definition): Use Wbuiltin-macro-redefined for
	builtins that lack the NODE_WARN flag.
	* directives.c (do_undef): Likewise.
	* init.c (cpp_init_special_builtins): Do not change flags
	depending on Wbuiltin-macro-redefined.


gcc/c-family/ChangeLog:

2014-08-29  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	* c.opt (Wbuiltin-macro-redefined): Use CPP, Var and Init.
	* c-opts.c (c_common_handle_option): Do not handle here.


Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-opts.c
    trunk/gcc/c-family/c.opt
    trunk/libcpp/ChangeLog
    trunk/libcpp/directives.c
    trunk/libcpp/init.c
    trunk/libcpp/macro.c



More information about the Gcc-cvs mailing list