opth-gen.awk: Generate mapping from cpp message reasons to the options that enable...
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 9 Sep 2014 22:17:54 +0000 (22:17 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 9 Sep 2014 22:17:54 +0000 (22:17 +0000)
commitb559c810f381052a959568a414813bb050b14ea5
tree41ca6a27e407c630dc4967e1c13f17fe6e01bf14
parent1ef33fd4cd139a24524f0cd41b07ea9526dfacc5
opth-gen.awk: Generate mapping from cpp message reasons to the options that enable them.

gcc/ChangeLog:

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

* opth-gen.awk: Generate mapping from cpp message reasons to the
options that enable them.
* doc/options.texi (CppReason): Document.

gcc/c-family/ChangeLog:

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

* c.opt: Add CppReason to various flags.
(Wdate-time): Re-sort.
* c-common.c: Include c-common.h earlier.
(struct reason_option_codes_t): Delete.
(c_option_controlling_cpp_error): Prefix global type and struct
with cpp_.

From-SVN: r215095
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c.opt
gcc/doc/options.texi
gcc/opth-gen.awk