.
commitf56e0ced63b906f6e0ef51ec92a1174111692d1f
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Apr 2003 13:18:41 +0000 (6 13:18 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Apr 2003 13:18:41 +0000 (6 13:18 +0000)
treea6fbf3af5cdd76991bee5fa0747e84b86b53a463
parent82a50abb8f7a00f7fe19e9277267b5fb07f2c75d
.
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65299 138bc75d-0d04-0410-961f-82ee72b054a4
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]