gcov tool: Implement Hawick's algorithm for cycle detection,
authorMartin Liska <mliska@suse.cz>
Fri, 5 Aug 2016 13:50:49 +0000 (15:50 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 5 Aug 2016 13:50:49 +0000 (13:50 +0000)
commit24bc5921a89095e3d1b89f7b9fd7d1c3a448a735
treeae7ebf2ef6e5bb8aada9e6b026f7634c6b059876
parent4457451f3d3475158e48f7b751eb2ddf7875c894
gcov tool: Implement Hawick's algorithm for cycle detection,

    Joshua Cranmer  <Pidgeot18@gmail.com>

* gcov.c (line_t::has_block): New function.
(enum loop_type): New enum.
(handle_cycle): New function.
(unblock): Likewise.
(circuit): Likewise.
(get_cycles_count): Likewise.
(accumulate_line_counts): Use new loop detection algorithm.

From-SVN: r239169
gcc/ChangeLog
gcc/gcov.c