diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 1ff66c54dad..793b1a3e487 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2018-06-07 Martin Liska + + * libgcov-driver.c: Rename cs_all to all and assign it from + all_prg. + 2018-06-07 Martin Liska PR bootstrap/86057 diff --git a/libgcc/libgcov-driver.c b/libgcc/libgcov-driver.c index 7ae33b8d417..1f2c4a74298 100644 --- a/libgcc/libgcov-driver.c +++ b/libgcc/libgcov-driver.c @@ -573,7 +573,7 @@ merge_summary (const char *filename __attribute__ ((unused)), int run_counted, { #if !GCOV_LOCKED /* summary for all instances of program. */ - struct gcov_summary *cs_all; + struct gcov_summary *all; #endif /* Merge the summary. */ @@ -593,7 +593,7 @@ merge_summary (const char *filename __attribute__ ((unused)), int run_counted, else gcov_histogram_merge (prg->histogram, this_prg->histogram); #if !GCOV_LOCKED - all = &all_prg->ctrs[t_ix]; + all = all_prg; if (!all->runs && prg->runs) { all->num = prg->num;