r271116 - in /trunk/gcc: ChangeLog gcov.c

marxin@gcc.gnu.org marxin@gcc.gnu.org
Mon May 13 07:04:00 GMT 2019


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  <mliska@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



More information about the Gcc-cvs mailing list