https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78783
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue Apr 18 07:24:20 2017 New Revision: 246961 URL: https://gcc.gnu.org/viewcvs?rev=246961&root=gcc&view=rev Log: Validate that destination gcov file does not exist for gcov-tool (PR gcov-profile/78783). 2017-04-18 Martin Liska <mli...@suse.cz> PR gcov-profile/78783 * libgcov-driver.c (gcov_get_filename): New function. 2017-04-18 Martin Liska <mli...@suse.cz> PR gcov-profile/78783 * gcov-tool.c (gcov_output_files): Validate that destination file is either removed by the tool or by a user. Modified: trunk/gcc/ChangeLog trunk/gcc/gcov-tool.c trunk/libgcc/ChangeLog trunk/libgcc/libgcov-driver.c