This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gcov-profile/81561] [7 Regression] Segfault in gcov with -a argument


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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Aug  1 14:49:54 2017
New Revision: 250782

URL: https://gcc.gnu.org/viewcvs?rev=250782&root=gcc&view=rev
Log:
Fix segfault in gcov.c (PR gcov-profile/81561).

2017-08-01  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2017-07-26  Martin Liska  <mliska@suse.cz>

        PR gcov-profile/81561
        * gcov.c (unblock): Make unblocking safe as we need to preserve
        index correspondence of blocks and block_lists.

Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/gcov.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]