Print working directory only in intermediate format (PR gcov-profile/84846).
authorMartin Liska <mliska@suse.cz>
Tue, 5 Jun 2018 08:11:52 +0000 (10:11 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 5 Jun 2018 08:11:52 +0000 (08:11 +0000)
2018-06-05  Martin Liska  <mliska@suse.cz>

PR gcov-profile/84846
* gcov.c (output_lines): Print working directory only
in intermediate format.

From-SVN: r261188

gcc/ChangeLog
gcc/gcov.c

index 336620f3d5ea1ea3b2faef43d4a7de50ade73939..609f1c5edf23a24ef7c0f79dffc79583b5805903 100644 (file)
@@ -1,3 +1,9 @@
+2018-06-05  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/84846
+       * gcov.c (output_lines): Print working directory only
+       in intermediate format.
+
 2018-06-05  Andreas Krebbel  <krebbel@linux.ibm.com>
 
        * config/s390/s390-builtin-types.def: Add void function type.
index 887972a1fcd9a1fc00f5814a00b0449b954509f2..a2a5d1c0175769fabe4826ed8c6e90de6cf54d79 100644 (file)
@@ -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);