[Bug fortran/44054] Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 20 23:08:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44054

--- Comment #14 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Author: manu
Date: Wed Aug 20 23:07:29 2014
New Revision: 214245

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

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

    PR fortran/44054
    * diagnostic.c (default_diagnostic_finalizer): Move caret printing
     to here ...
    (diagnostic_report_diagnostic): ... from here.
    * toplev.c (general_init): Move code to c-family.

gcc/cp/ChangeLog:

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

    PR fortran/44054
    * error.c (cp_diagnostic_finalizer): Delete.
    (init_error): Do not set diagnostic_finalizer here.

gcc/c-family/ChangeLog:

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

    PR fortran/44054
    * c-opts.c: Include tree-diagnostics.h.
    (c_diagnostic_finalizer): New.
    (c_common_initialize_diagnostics): Use it.

gcc/fortran/ChangeLog:

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

    PR fortran/44054
    * error.c (gfc_diagnostic_finalizer): Call default finalizer.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-opts.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/error.c
    trunk/gcc/diagnostic.c
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/error.c
    trunk/gcc/toplev.c


More information about the Gcc-bugs mailing list