Hey Martin,

thanks for implementing this!

One quick note, given that the intermediate file contains multiple
"file" sections, maybe it would make more sense to put the "version:" at
the very beginning of the file (maybe outputting it from
https://github.com/gcc-mirror/gcc/blob/7ea14e0563d164603686df7e05bbbd20810b7f80/gcc/gcov.c#L1294)
and not repeat it before each "file:" section.

- Marco.


Il 03/01/2018 14:25, Martin Liška ha scritto:
> Hi.
>
> This is small enhancement reported by users of gcov tool. I'm aware of 
> current stage of GCC,
> but it's really small change in code. Apart from that, a small fix to 
> documentation is included.
>
> Survives gcov.exp, may I install it?
> Thanks,
> Martin
>
> gcc/ChangeLog:
>
> 2018-01-03  Martin Liska  <mli...@suse.cz>
>
>       PR gcov-profile/83669
>       * gcov.c (output_intermediate_file): Add version to intermediate
>       gcov file.
>       * doc/gcov.texi: Document new field 'version' in intermediate
>       file format. Fix location of '-k' option of gcov command.
> ---
>  gcc/doc/gcov.texi | 10 ++++++----
>  gcc/gcov.c        |  1 +
>  2 files changed, 7 insertions(+), 4 deletions(-)
>
>

Reply via email to