gcc/libcpp
Manuel López-Ibáñez 3aa34c1d8f re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color)
libcpp/ChangeLog:

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

	PR fortran/44054
	* include/line-map.h (linemap_position_for_loc_and_offset):
	Declare.
	* line-map.c (linemap_position_for_loc_and_offset): New.


gcc/fortran/ChangeLog:

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

	PR fortran/44054
	* gfortran.h (warn_use_without_only): Remove.
	(gfc_diagnostics_finish): Declare.
	* error.c: Include tree-diagnostics.h
	(gfc_format_decoder): New.
	(gfc_diagnostics_init): Use gfc_format_decoder. Set default caret
	char.
	(gfc_diagnostics_finish): Restore tree diagnostics defaults, but
	keep gfc_diagnostics_starter and finalizer. Restore default caret.
	* options.c: Remove all uses of warn_use_without_only.
	* lang.opt (Wuse-without-only): Add Var.
	* f95-lang.c (gfc_be_parse_file): Call gfc_diagnostics_finish.
	* module.c (gfc_use_module): Use gfc_warning_now_2.
	* parse.c (decode_statement): Likewise.
	(decode_gcc_attribute): Likewise.
	(next_free): Likewise.
	(next_fixed): Likewise.


gcc/testsuite/ChangeLog:

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

	PR fortran/44054
	* lib/gfortran-dg.exp: Update regexp to match locus and message
	without caret.
	* gfortran.dg/use_without_only_1.f90: Add column numbers.
        * gfortran.dg/warnings_are_errors_1.f: Update.

From-SVN: r217383
2014-11-11 22:50:48 +00:00
..
include re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2014-11-11 22:50:48 +00:00
po * ja.po: Update. 2014-11-07 12:45:36 +00:00
aclocal.m4
ChangeLog re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2014-11-11 22:50:48 +00:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
charset.c charset.c (convert_no_conversion): Reallocate memory with 25% headroom. 2014-10-02 00:06:28 +00:00
config.in configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure.ac configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
directives-only.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
directives.c cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
errors.c re PR preprocessor/58893 (<command-line>:0:0: internal compiler error: Segmentation fault) 2014-09-30 16:08:53 +00:00
expr.c cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
files.c gengtype.h (obstack_chunk_alloc, [...]): Remove cast. 2014-10-22 12:11:31 +10:30
identifiers.c cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
init.c Enable -fextended-identifiers by default. 2014-11-05 16:19:10 +00:00
internal.h cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
lex.c Preserve original spellings of extended identifiers. 2014-11-06 21:08:52 +00:00
line-map.c re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2014-11-11 22:50:48 +00:00
macro.c Preserve original spellings of extended identifiers. 2014-11-06 21:08:52 +00:00
Makefile.in Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
makeucnid.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
mkdeps.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
pch.c cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
symtab.c gengtype.h (obstack_chunk_alloc, [...]): Remove cast. 2014-10-22 12:11:31 +10:30
system.h Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
traditional.c cpplib.h (cpp_callbacks): Add has_attribute. 2014-11-10 15:53:12 +00:00
ucnid.h Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
ucnid.tab Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00