* libgcov-driver.c (gcov_exit_merge_summary): Fix setting
run_accounted.
From-SVN: r204991
2013-11-18 Jan Hubicka <jh@suse.cz>
+ * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
+ run_accounted.
+
* libgcov-driver.c (get_gcov_dump_complete): Update comments.
(all_prg, crc32): Remove static vars.
(gcov_exit_compute_summary): Rewrite to return crc32; do not clear
if (!run_accounted)
cs_prg->runs++;
- run_accounted = 1;
if (first)
cs_prg->num = cs_tprg->num;
cs_prg->sum_all += cs_tprg->sum_all;
#endif
}
+ run_accounted = 1;
prg->checksum = crc32;
return 0;