aboutsummaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/profile.c')
-rw-r--r--gcc/profile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/profile.c b/gcc/profile.c
index ded0958..3c2ac33 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -218,7 +218,7 @@ get_exec_counts (unsigned cfg_checksum, unsigned lineno_checksum)
}
counts = get_coverage_counts (GCOV_COUNTER_ARCS, cfg_checksum,
- lineno_checksum);
+ lineno_checksum, num_edges);
if (!counts)
return NULL;
@@ -780,7 +780,8 @@ compute_value_histograms (histogram_values values, unsigned cfg_checksum,
histogram_counts[t] = get_coverage_counts (COUNTER_FOR_HIST_TYPE (t),
cfg_checksum,
- lineno_checksum);
+ lineno_checksum,
+ n_histogram_counters[t]);
if (histogram_counts[t])
any = 1;
act_count[t] = histogram_counts[t];