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
aclocal.m4
ChangeLog PR preprocessor/83173: Enhance -fdump-internal-locations output 2018-11-27 16:04:31 +00:00
ChangeLog.jit
charset.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
config.in
configure
configure.ac
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
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
makeucnid.c
mkdeps.c
pch.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
symtab.c
system.h
traditional.c Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
ucnid.h
ucnid.tab