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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Martin Liska
<mar...@gcc.gnu.org>:

https://gcc.gnu.org/g:580d66f5a0bdcd88dcdab2d4ace3bbbaae121af3

commit r11-9221-g580d66f5a0bdcd88dcdab2d4ace3bbbaae121af3
Author: Martin Liska <mli...@suse.cz>
Date:   Fri Nov 5 16:50:06 2021 +0100

    gcov-profile: Fix -fcompare-debug with -fprofile-generate [PR100520]

            PR gcov-profile/100520

    gcc/ChangeLog:

            * coverage.c (coverage_compute_profile_id): Strip .gk when
            compare debug is used.
            * system.h (endswith): New function.

    gcc/testsuite/ChangeLog:

            * gcc.dg/pr100520.c: New test.

    (cherry picked from commit 7553bd35c876efaf8ab0b6661a6102822b99e6e3)

Reply via email to