This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Nov 10 15:23:24 2017
New Revision: 254629

URL: https://gcc.gnu.org/viewcvs?rev=254629&root=gcc&view=rev
Log:
GCOV: create one intermediate file per a gcno file (PR gcov-profile/82702).

2017-11-10  Martin Liska  <mliska@suse.cz>

        PR gcov-profile/82702
        * gcov.c (main): Handle intermediate files in a different
        way.
        (get_gcov_intermediate_filename): New function.
        (output_gcov_file): Remove support of intermediate files.
        (generate_results): Allocate intermediate file.
        (release_structures): Clean-up properly fn_end.
        (output_intermediate_file): Start iterating with line 1.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcov.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]