profile.c (branch_prob): Split edges with goto locus on them to get proper line counts.
authorJan Hubicka <jh@suse.cz>
Wed, 3 Aug 2005 22:10:54 +0000 (00:10 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 3 Aug 2005 22:10:54 +0000 (22:10 +0000)
commitd783b2a2dc91e1d2c1fea78cac2b6c6c73b3680d
treefcee55b5f24d9dfb6674c4dbf7fa3c50e5dfb709
parent5336645054c5bc4bf56215863b9d64bd24884f32
profile.c (branch_prob): Split edges with goto locus on them to get proper line counts.

* 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.

From-SVN: r102717
gcc/ChangeLog
gcc/profile.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gcov/gcov-1.C
gcc/testsuite/gcc.misc-tests/gcov-4b.c
gcc/tree-cfg.c