directives.c (check_eol_1): New.
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Fri, 29 Aug 2014 16:06:19 +0000 (16:06 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Fri, 29 Aug 2014 16:06:19 +0000 (16:06 +0000)
commit81b5d104e944fd473032ab9c6ea588cdb0a02065
treede65daf646063d398a29e838164556dae2e7bbc3
parentf71f9d3fb6156edd82822ad9a26d3e4c6495d041
directives.c (check_eol_1): New.

libcpp/ChangeLog:

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

* directives.c (check_eol_1): New.
(check_eol_endif_labels): New.
(check_eol): Call check_eol_1.
(do_else,do_endif): Call check_eol_endif_labels.

gcc/c-family/ChangeLog:

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

* c.opt (Wbuiltin-macro-redefined,Wdeprecated,Wendif-labels,
Winvalid-pch,Wliteral-suffix,Wmissing-include-dirs,Wtrigraphs,
Wundef): Use CPP, Var and Init.
* c-opts.c (c_common_handle_option): Do not handle the above flags here.

From-SVN: r214735
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/c-family/c.opt
libcpp/ChangeLog
libcpp/directives.c