aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcov-driver.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 00:50:53 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 00:50:53 +0000
commit7a45fd9bc7f1545b8e6cc07bb7ed28be844e99a4 (patch)
tree45511d094d20b80fb4fafe4b341575712c370770 /libgcc/libgcov-driver.c
parent4c46ae07ce7fc8e651c8fed36b6afcb4b91f5fa7 (diff)
* libgcov-driver.c (gcov_exit_merge_summary): Fix setting
run_accounted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204991 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/libgcov-driver.c')
-rw-r--r--libgcc/libgcov-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/libgcov-driver.c b/libgcc/libgcov-driver.c
index 9d527cd93e3..763e0244bca 100644
--- a/libgcc/libgcov-driver.c
+++ b/libgcc/libgcov-driver.c
@@ -671,7 +671,6 @@ gcov_exit_merge_summary (const struct gcov_info *gi_ptr, struct gcov_summary *pr
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;
@@ -719,6 +718,7 @@ gcov_exit_merge_summary (const struct gcov_info *gi_ptr, struct gcov_summary *pr
#endif
}
+ run_accounted = 1;
prg->checksum = crc32;
return 0;