Fix compilation of libgcov with GCOV_LOCKED=0.
2018-06-07 Martin Liska <mliska@suse.cz> * libgcov-driver.c: Rename cs_all to all and assign it from all_prg. From-SVN: r261261
This commit is contained in:
parent
6c086e8c75
commit
244aebfd6c
|
@ -1,3 +1,8 @@
|
||||||
|
2018-06-07 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
* libgcov-driver.c: Rename cs_all to all and assign it from
|
||||||
|
all_prg.
|
||||||
|
|
||||||
2018-06-07 Martin Liska <mliska@suse.cz>
|
2018-06-07 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
PR bootstrap/86057
|
PR bootstrap/86057
|
||||||
|
|
|
@ -573,7 +573,7 @@ merge_summary (const char *filename __attribute__ ((unused)), int run_counted,
|
||||||
{
|
{
|
||||||
#if !GCOV_LOCKED
|
#if !GCOV_LOCKED
|
||||||
/* summary for all instances of program. */
|
/* summary for all instances of program. */
|
||||||
struct gcov_summary *cs_all;
|
struct gcov_summary *all;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Merge the summary. */
|
/* Merge the summary. */
|
||||||
|
@ -593,7 +593,7 @@ merge_summary (const char *filename __attribute__ ((unused)), int run_counted,
|
||||||
else
|
else
|
||||||
gcov_histogram_merge (prg->histogram, this_prg->histogram);
|
gcov_histogram_merge (prg->histogram, this_prg->histogram);
|
||||||
#if !GCOV_LOCKED
|
#if !GCOV_LOCKED
|
||||||
all = &all_prg->ctrs[t_ix];
|
all = all_prg;
|
||||||
if (!all->runs && prg->runs)
|
if (!all->runs && prg->runs)
|
||||||
{
|
{
|
||||||
all->num = prg->num;
|
all->num = prg->num;
|
||||||
|
|
Loading…
Reference in New Issue