diff options
author | Mike Gulick <mgulick@mathworks.com> | 2018-11-27 16:04:31 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2018-11-27 16:04:31 +0000 |
commit | bc65bad27f066e2b91380071d65a8f6c6745c2a2 (patch) | |
tree | 8fd44fa810e725cd4e7434022b0220e3c931a500 /gcc/gcov.c | |
parent | fb51a3a867e20f574bde3b929ec9ccfba6cc374b (diff) | |
download | gcc-bc65bad27f066e2b91380071d65a8f6c6745c2a2.zip gcc-bc65bad27f066e2b91380071d65a8f6c6745c2a2.tar.gz gcc-bc65bad27f066e2b91380071d65a8f6c6745c2a2.tar.bz2 |
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
Diffstat (limited to 'gcc/gcov.c')
0 files changed, 0 insertions, 0 deletions