From: Martin Liska Date: Tue, 5 Jun 2018 08:11:52 +0000 (+0200) Subject: Print working directory only in intermediate format (PR gcov-profile/84846). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=632b10e14156db1e429f623628ad4f270c1550c4;p=gcc.git 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 --- 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);