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

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

https://gcc.gnu.org/g:bc3914f307211c42f31af7e64d2e6cc8a69837cb

commit r10-8838-gbc3914f307211c42f31af7e64d2e6cc8a69837cb
Author: Martin Liska <mli...@suse.cz>
Date:   Mon Sep 21 16:26:10 2020 +0200

    gcov: fix streaming corruption

    gcc/ChangeLog:

            PR gcov-profile/97069
            * profile.c (branch_prob): Line number must be at least 1.

    gcc/testsuite/ChangeLog:

            PR gcov-profile/97069
            * g++.dg/gcov/pr97069.C: New test.

    (cherry picked from commit 6b4e8bf88f1172ce8561f57b12fb81063b21a78f)

Reply via email to