]> gcc.gnu.org Git - gcc.git/commit
gcov.c (struct arc_info): Replace local_span with cycle.
authorNathan Sidwell <nathan@codesourcery.com>
Sun, 6 Apr 2003 13:18:41 +0000 (13:18 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sun, 6 Apr 2003 13:18:41 +0000 (13:18 +0000)
commit10b7602f3fcd1e5aac1d07e32b0c7c3c4d60426d
treea6fbf3af5cdd76991bee5fa0747e84b86b53a463
parent910c46b516b50e2ca38ade41c44c0f4194c1392e
gcov.c (struct arc_info): Replace local_span with cycle.

. * gcov.c (struct arc_info): Replace local_span with cycle.
(struct block_info): Replace u.span with u.cycle. Add is_call_return.
(solve_flow_graph): Set is_call_return.
(add_line_counts): Adjust. In block mode, blocks attach to last line.
(accumulate_line_counts): Find graph cycles, not spanning tree.
(output_branch_count): Adjust.
(output_lines): Adjust.
* doc/gcov.texi: Update.
testsuite:
* gcc.misc-test/gcov-9.c: New test.
* gcc.misc-test/gcov-10.c: New test
* gcc.misc-test/gcov-11.c: New test.

From-SVN: r65299
gcc/ChangeLog
gcc/doc/gcov.texi
gcc/gcov.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/gcov-10.c [new file with mode: 0644]
gcc/testsuite/gcc.misc-tests/gcov-11.c [new file with mode: 0644]
gcc/testsuite/gcc.misc-tests/gcov-9.c [new file with mode: 0644]
This page took 0.055234 seconds and 5 git commands to generate.