[Bug gcov-profile/64634] [4.8/4.9 Regression] gcov reports catch(...) as not executed

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 3 21:33:00 GMT 2015


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jun  3 21:33:22 2015
New Revision: 224102

URL: https://gcc.gnu.org/viewcvs?rev=224102&root=gcc&view=rev
Log:
        Backported from mainline
        2015-02-18  Jakub Jelinek  <jakub@redhat.com>

        PR gcov-profile/64634
        * tree-eh.c (frob_into_branch_around): Fix up typos
        in function comment.
        (lower_catch): Put eh_seq resulting from EH lowering of
        the cleanup sequence after the cleanup rather than before
        it.

        * g++.dg/gcov/gcov-15.C: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/gcov/gcov-15.C
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_8-branch/gcc/tree-eh.c



More information about the Gcc-bugs mailing list