Do not follow zero edges in cycle detection (PR gcov-profile/90380).
authorMartin Liska <mliska@suse.cz>
Mon, 13 May 2019 07:05:23 +0000 (09:05 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 13 May 2019 07:05:23 +0000 (07:05 +0000)
commit2e9ff3bbe24879ecd81d7f99d4b30eaa1cd1021b
tree84b7c083e9b0a85acd962bff6b91da85fe752032
parent4af3b0ea1bcc3096e21fc1687fa78a294b232454
Do not follow zero edges in cycle detection (PR gcov-profile/90380).

2019-05-13  Martin Liska  <mliska@suse.cz>

PR gcov-profile/90380
* gcov.c (handle_cycle): Do not support zero cycle count,
it should not be possible.
(path_contains_zero_cycle_arc): New function.
(circuit): Ignore zero cycle arc counts.

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