summaryrefslogtreecommitdiffstats
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
parent705957ebb3338498b5ecb46c805cbeb77008687c (diff)
downloadppe42-gcc-3bccee5a2b91817178fe8d229ab294c4e8ac73ab.tar.gz
ppe42-gcc-3bccee5a2b91817178fe8d229ab294c4e8ac73ab.zip
* libgcov.c (gcov_exit): Fix two pastos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71906 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/libgcov.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bf061a39385..96a7ad4fa65 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Mon Sep 29 19:05:46 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * libgcov.c (gcov_exit): Fix two pastos.
+
2003-09-29 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (*tst_extzv_1_n): Combine with the
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)
OpenPOWER on IntegriCloud