* libgcov.c (gcov_exit): Fix two pastos.
authorJan Hubicka <jh@suse.cz>
Mon, 29 Sep 2003 17:09:36 +0000 (19:09 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 29 Sep 2003 17:09:36 +0000 (17:09 +0000)
From-SVN: r71906

gcc/ChangeLog
gcc/libgcov.c

index bf061a39385e163d3425dab8cee370a31ed00e2c..96a7ad4fa6565b0fc63dc7501e38e45a545d1764 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 850680612835dca799aed6e4bd104635eb324a5e..ffc3d54752c5006ee5257bb5fa6130d01c5a21a4 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)