gcc/libmudflap
Manuel López-Ibáñez 9fec00429d re PR c++/24985 (caret diagnostics)
2012-04-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	PR 24985
gcc/
        * diagnostic.h (show_caret): Declare.
	(caret_max_width): Declare.
	(diagnostic_show_locus): Declare.
        * diagnostic.c (diagnostic_initialize): Initialize to false.
        (diagnostic_show_locus): New.
        (diagnostic_report_diagnostic): Call it.
	(getenv_columns): New.
	(adjust_line): New.
	(diagnostic_set_caret_max_width): New.
        * input.c (read_line): New.
	(location_get_source_line): New.
        * input.h (location_get_source_line): Declare.
        * toplev.c (general_init): Initialize show_caret from options.
        * dwarf2out.c (gen_producer_string): Handle fdiagnostics-show-caret.
        * opts.c (common_handle_option): Likewise.
	* pretty-print.h (pp_get_prefix): New.
	(pp_base_get_prefix): New.
        * common.opt (fdiagnostics-show-caret): New option.
	* doc/invoke.texi (fdiagnostics-show-caret): Document it.
testsuite/
        * lib/prune.exp: Add -fno-diagnostics-show-caret.
libstdc++-v3/
	* testsuite/lib/prune.exp: Handle caret.
libmudflap/
	* testsuite/lib/libmudflap.exp: Handle caret.

From-SVN: r186305
2012-04-11 09:26:48 +00:00
..
testsuite re PR c++/24985 (caret diagnostics) 2012-04-11 09:26:48 +00:00
acinclude.m4
aclocal.m4 Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
ChangeLog re PR c++/24985 (caret diagnostics) 2012-04-11 09:26:48 +00:00
config.h.in configure.ac: Don't create pth. 2011-07-13 14:57:29 +00:00
configure Additional fixes for FreeBSD-10 build: 2011-11-21 20:22:35 +01:00
configure.ac configure.ac: Don't create pth. 2011-07-13 14:57:29 +00:00
libtool-version
Makefile.am Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 13:41:50 +00:00
Makefile.in no-dist in non-imported automake dirs. 2010-05-04 18:58:11 +00:00
mf-heuristics.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
mf-hooks1.c re PR libmudflap/49550 (Many libmudflap tests fail on Solaris 11/x86) 2011-07-07 10:14:02 +00:00
mf-hooks2.c re PR libmudflap/49550 (Many libmudflap tests fail on Solaris 11/x86) 2011-07-07 10:14:02 +00:00
mf-hooks3.c re PR libmudflap/49550 (Many libmudflap tests fail on Solaris 11/x86) 2011-07-07 10:14:02 +00:00
mf-impl.h re PR libmudflap/49550 (Many libmudflap tests fail on Solaris 11/x86) 2011-07-07 10:14:02 +00:00
mf-runtime.c gcc.c (process_command): Update copyright notice dates. 2012-01-01 20:09:46 +01:00
mf-runtime.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00