https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88994
--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Thu Jan 24 08:27:39 2019 New Revision: 268233 URL: https://gcc.gnu.org/viewcvs?rev=268233&root=gcc&view=rev Log: Fix broken filename for .gcda files starting with '..' (PR gcov-profile/88994). 2019-01-24 Martin Liska <mli...@suse.cz> PR gcov-profile/88994 * gcov-io.c (mangle_path): Do not allocate a bigger buffer, result will be always smaller or equal to the original. * gcov.c (mangle_name): Fix else branch where we should also copy to PTR and shift the pointer. Modified: trunk/gcc/ChangeLog trunk/gcc/gcov-io.c trunk/gcc/gcov.c