diff options
author | Jan Hubicka <jh@suse.cz> | 2003-09-29 19:09:36 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-09-29 17:09:36 +0000 |
commit | 43ac26234ad6c16a1339f060fa13d62da3372183 (patch) | |
tree | b3fbe158f637264790e9878bf7c298696333326d /gcc | |
parent | 681a664b1369620d4039d7c20931d921ea8507a8 (diff) | |
download | gcc-43ac26234ad6c16a1339f060fa13d62da3372183.zip gcc-43ac26234ad6c16a1339f060fa13d62da3372183.tar.gz gcc-43ac26234ad6c16a1339f060fa13d62da3372183.tar.bz2 |
* libgcov.c (gcov_exit): Fix two pastos.
From-SVN: r71906
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/libgcov.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bf061a3..96a7ad4 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 8506806..ffc3d54 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) |