Hi.
As requested by Eric, let's print working directory just in intermediate format:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84846#c8
gcov.exp tests works with the patch.
Ready for trunk?
Martin
gcc/ChangeLog:
2018-05-25 Martin Liska <[email protected]>
PR gcov-profile/84846
* gcov.c (output_lines): Print working directory only
in intermediate format.
---
gcc/gcov.c | 2 --
1 file changed, 2 deletions(-)
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);