From: Jan Hubicka Date: Mon, 29 Sep 2003 17:09:36 +0000 (+0200) Subject: * libgcov.c (gcov_exit): Fix two pastos. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43ac26234ad6c16a1339f060fa13d62da3372183;p=gcc.git * libgcov.c (gcov_exit): Fix two pastos. From-SVN: r71906 --- 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 + + * libgcov.c (gcov_exit): Fix two pastos. + 2003-09-29 Kazu Hirata * 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)