https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380

--- Comment #29 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon May 13 07:04:58 2019
New Revision: 271116

URL: https://gcc.gnu.org/viewcvs?rev=271116&root=gcc&view=rev
Log:
Test for not existence of a negative loop (PR gcov-profile/90380).

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:
    trunk/gcc/ChangeLog
    trunk/gcc/gcov.c

Reply via email to