gcc/libcpp
Mike Gulick bc65bad27f PR preprocessor/83173: Enhance -fdump-internal-locations output
gcc/ChangeLog:
2018-11-27  Mike Gulick  <mgulick@mathworks.com>

	PR preprocessor/83173
	* input.c (dump_location_info): Dump reason and included_from
	fields from line_map_ordinary struct.  Fix indentation when
	location > 5 digits.
	* diagnostic-show-locus.c (num_digits, num_digits): Move to
	diagnostic.c to allow it to be utilized by input.c.
	* diagnostic.c (num_digits, selftest::test_num_digits): Moved
	here.
	(selftest::diagnostic_c_tests): Run selftest::test_num_digits.
	* diagnostic.h (num_digits): Add extern definition.

libcpp/ChangeLog:
2018-11-27  Mike Gulick  <mgulick@mathworks.com>

	PR preprocessor/83173
	* location-example.txt: Update example -fdump-internal-locations
	output.

From-SVN: r266520
2018-11-27 16:04:31 +00:00
..
include Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
po Regenerate .pot files. 2018-07-25 15:31:18 +01:00
aclocal.m4 Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
ChangeLog PR preprocessor/83173: Enhance -fdump-internal-locations output 2018-11-27 16:04:31 +00:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
charset.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
config.in Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
configure iconv.m4 (AM_ICONV_LINK): Don't overwrite CPPFLAGS. 2018-11-07 15:41:21 -07:00
configure.ac Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
directives-only.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
directives.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
errors.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
expr.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
files.c PR preprocessor/83173: Additional check before decrementing highest_location 2018-11-27 15:49:43 +00:00
identifiers.c [PATCH] CPP Macro predicates 2018-08-16 13:51:38 +00:00
init.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
internal.h Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
lex.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
line-map.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
location-example.txt PR preprocessor/83173: Enhance -fdump-internal-locations output 2018-11-27 16:04:31 +00:00
macro.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
Makefile.in [PATCH] Kill cpp-id-data.h 2018-08-20 14:20:04 +00:00
makeucnid.c Update copyright years. 2018-01-03 11:03:58 +01:00
mkdeps.c Update copyright years. 2018-01-03 11:03:58 +01:00
pch.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
symtab.c Do not use %zu format in libcpp. 2018-11-05 14:32:13 +00:00
system.h * system.h: #include <new> earlier. 2018-05-23 13:13:30 -04:00
traditional.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
ucnid.h Update copyright years. 2018-01-03 11:03:58 +01:00
ucnid.tab Update copyright years. 2018-01-03 11:03:58 +01:00