aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 829e955..3672ae7 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -843,7 +843,6 @@ get_cycles_count (line_info &linfo)
Therefore, operating on a permuted order (i.e., non-sorted) only
has the effect of permuting the output cycles. */
- bool loop_found = false;
gcov_type count = 0;
for (vector<block_info *>::iterator it = linfo.blocks.begin ();
it != linfo.blocks.end (); it++)
@@ -851,8 +850,7 @@ get_cycles_count (line_info &linfo)
arc_vector_t path;
block_vector_t blocked;
vector<block_vector_t > block_lists;
- loop_found |= circuit (*it, path, *it, blocked, block_lists, linfo,
- count);
+ circuit (*it, path, *it, blocked, block_lists, linfo, count);
}
return count;