On Tue, 2 Dec 2014, Manuel López-Ibáñez wrote: > 2014-12-02 Manuel López-Ibáñez <m...@gcc.gnu.org> > > * diagnostic.c (diagnostic_color_init): New. > * diagnostic.h: Declare. > * gcc.c (driver::global_initializations): Use it. > (driver_handle_option): Handle -fdiagnostics-color_. > * toplev.c: Do not include diagnostic-color.h. > (process_options): Do not initialize color diagnostics here. > * common.opt (fdiagnostics-color=): Add Driver. > * opts-global.c (init_options_once): Initialize color here.
The gcc.c / common.opt / opts-global.c changes are OK. -- Joseph S. Myers jos...@codesourcery.com