aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index a2a5d1c..2114a43 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -1801,7 +1801,7 @@ read_count_file (void)
{
struct gcov_summary summary;
gcov_read_summary (&summary);
- object_runs += summary.ctrs[GCOV_COUNTER_ARCS].runs;
+ object_runs += summary.runs;
program_count++;
}
else if (tag == GCOV_TAG_FUNCTION && !length)