summaryrefslogtreecommitdiff
path: root/gcc/libgcov.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-29 17:09:36 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-29 17:09:36 +0000
commit3bccee5a2b91817178fe8d229ab294c4e8ac73ab (patch)
treeb3fbe158f637264790e9878bf7c298696333326d /gcc/libgcov.c
parent705957ebb3338498b5ecb46c805cbeb77008687c (diff)
downloadgcc-3bccee5a2b91817178fe8d229ab294c4e8ac73ab.tar.gz
* libgcov.c (gcov_exit): Fix two pastos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71906 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libgcov.c')
-rw-r--r--gcc/libgcov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/libgcov.c b/gcc/libgcov.c
index 85068061283..ffc3d54752c 100644
--- a/gcc/libgcov.c
+++ b/gcc/libgcov.c
@@ -174,7 +174,7 @@ gcov_exit (void)
if (!((1 << t_ix) & gi_ptr->ctr_mask))
continue;
- cs_ptr = &this_program.ctrs[t_ix];
+ cs_ptr = &this_object.ctrs[t_ix];
cs_ptr->num += ci_ptr->num;
for (c_num = 0; c_num < ci_ptr->num; c_num++)
{
@@ -324,7 +324,7 @@ gcov_exit (void)
cs_obj = &object.ctrs[t_ix];
cs_tobj = &this_object.ctrs[t_ix];
cs_prg = &program.ctrs[t_ix];
- cs_tprg = &program.ctrs[t_ix];
+ cs_tprg = &this_program.ctrs[t_ix];
cs_all = &all.ctrs[t_ix];
if ((1 << t_ix) & gi_ptr->ctr_mask)