https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380
--- Comment #35 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue May 14 08:46:27 2019 New Revision: 271150 URL: https://gcc.gnu.org/viewcvs?rev=271150&root=gcc&view=rev Log: Backport r271116 2019-05-14 Martin Liska <mli...@suse.cz> Backport from mainline 2019-05-13 Martin Liska <mli...@suse.cz> PR gcov-profile/90380 * gcov.c (enum loop_type): Remove the enum and the operator. (handle_cycle): Assert that we should not reach a negative count. (circuit): Use loop_found instead of a tri-state loop_type. (get_cycles_count): Do not handle NEGATIVE_LOOP as it can't happen. Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/gcov.c