From 632b10e14156db1e429f623628ad4f270c1550c4 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 5 Jun 2018 10:11:52 +0200 Subject: [PATCH] Print working directory only in intermediate format (PR gcov-profile/84846). 2018-06-05 Martin Liska PR gcov-profile/84846 * gcov.c (output_lines): Print working directory only in intermediate format. From-SVN: r261188 --- gcc/ChangeLog | 6 ++++++ gcc/gcov.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 336620f3d5e..609f1c5edf2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-06-05 Martin Liska + + PR gcov-profile/84846 + * gcov.c (output_lines): Print working directory only + in intermediate format. + 2018-06-05 Andreas Krebbel * config/s390/s390-builtin-types.def: Add void function type. diff --git a/gcc/gcov.c b/gcc/gcov.c index 887972a1fcd..a2a5d1c0175 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -2945,8 +2945,6 @@ output_lines (FILE *gcov_file, const source_info *src) const char *retval; fprintf (gcov_file, DEFAULT_LINE_START "Source:%s\n", src->coverage.name); - fprintf (gcov_file, DEFAULT_LINE_START "Working directory:%s\n", - bbg_cwd); if (!multiple_files) { fprintf (gcov_file, DEFAULT_LINE_START "Graph:%s\n", bbg_file_name); -- 2.30.2