* profile.c (branch_prob): Split edges with goto locus on them to get proper line counts. * tree-cfg.c (make_cond_expr_edges): Record user goto locuses, if any. * gcov-1.C: Fix switch counts. * gcov-4b.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102717 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 6 additions, 0 deletionsgcc/ChangeLog
- gcc/profile.c 21 additions, 0 deletionsgcc/profile.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/gcov/gcov-1.C 1 addition, 1 deletiongcc/testsuite/g++.dg/gcov/gcov-1.C
- gcc/testsuite/gcc.misc-tests/gcov-4b.c 1 addition, 1 deletiongcc/testsuite/gcc.misc-tests/gcov-4b.c
- gcc/tree-cfg.c 16 additions, 2 deletionsgcc/tree-cfg.c
Loading
Please register or sign in to comment