https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91601
--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Mon Sep 2 07:06:54 2019 New Revision: 275291 URL: https://gcc.gnu.org/viewcvs?rev=275291&root=gcc&view=rev Log: Consider also negative edges in cycle detection. 2019-09-02 Martin Liska <mli...@suse.cz> PR gcov-profile/91601 * gcov.c (path_contains_zero_cycle_arc): Rename to ... (path_contains_zero_or_negative_cycle_arc): ... this and handle also negative edges. (circuit): Handle also negative edges as they can happen in some situations. Modified: trunk/gcc/ChangeLog trunk/gcc/gcov.c