]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagn...
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Thu, 21 Aug 2014 00:27:25 +0000 (00:27 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Thu, 21 Aug 2014 00:27:25 +0000 (00:27 +0000)
commitfbecdc83824c4158ba7047226266719fb51bc412
tree8e4a6ff9aef324beb077e82626a2a4e8f6c910e9
parentecda22b23dea0a251b2a29caaab6424db472a297
re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color)

gcc/ChangeLog:

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

PR fortran/44054
* diagnostic.c: Set default caret.
(diagnostic_show_locus): Use it. Tell pretty-printer that a new
line is needed.
* diagnostic.h (struct diagnostic_context):

gcc/fortran/ChangeLog:

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

PR fortran/44054
* error.c (gfc_diagnostic_build_locus_prefix): New function.
(gfc_diagnostic_starter): Follow Fortran FE diagnostics.
(gfc_diagnostic_finalizer): Do not call default finalizer.

From-SVN: r214251
gcc/ChangeLog
gcc/diagnostic.c
gcc/diagnostic.h
gcc/fortran/ChangeLog
gcc/fortran/error.c