This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/67097] gcov-tool merge (can) crash when dir2 contains files not in dir1
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Aug 2016 11:23:59 +0000
- Subject: [Bug gcov-profile/67097] gcov-tool merge (can) crash when dir2 contains files not in dir1
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-67097-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67097
--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Aug 15 11:23:27 2016
New Revision: 239478
URL: https://gcc.gnu.org/viewcvs?rev=239478&root=gcc&view=rev
Log:
gcov-tool: Do not segfault in merge operation (PR
PR gcov-profile/67097
* libgcov-util.c (gcov_profile_merge): Skip missing files.
Modified:
trunk/libgcc/ChangeLog
trunk/libgcc/libgcov-util.c