libcpp/ChangeLog:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Aug 2014 15:28:45 +0000 (15:28 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Aug 2014 15:28:45 +0000 (15:28 +0000)
commita7d2e480fef2ab41d6a0de9ecaeb7897d401153e
treebcdc43baa9947832913a10b03e07131bc343844b
parent49b1445b216c94da4f64025916661dccb8465047
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214730 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/c-family/c.opt
libcpp/ChangeLog
libcpp/directives.c
libcpp/init.c
libcpp/macro.c