OSDN Git Service

* libgcov.c (gcov_exit): Fix two pastos.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Sep 2003 17:09:36 +0000 (17:09 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Sep 2003 17:09:36 +0000 (17:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71906 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/libgcov.c

index bf061a3..96a7ad4 100644 (file)
@@ -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
index 8506806..ffc3d54 100644 (file)
@@ -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)