diff options
author | Jan Hubicka <jh@suse.cz> | 2002-08-27 18:02:29 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2002-08-27 16:02:29 +0000 |
commit | 7acc97e02e0ad7120e93212e8bcf683b50118d58 (patch) | |
tree | 9ae27fa9332f49a929b53fb023dccddef72a184e /gcc/libgcc2.c | |
parent | 23327dae1f4c8d09fe38b91da074195a945e8123 (diff) | |
download | gcc-7acc97e02e0ad7120e93212e8bcf683b50118d58.zip gcc-7acc97e02e0ad7120e93212e8bcf683b50118d58.tar.gz gcc-7acc97e02e0ad7120e93212e8bcf683b50118d58.tar.bz2 |
* libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
From-SVN: r56603
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r-- | gcc/libgcc2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index c88b24f..ac2fb6a 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -1514,11 +1514,11 @@ __bb_exit_func (void) if (fseek (da_file, 4 * 3, SEEK_SET) /* number of instrumented arcs. */ - || __write_long (program_arcs, da_file, 4) + || __write_long (merged_arcs, da_file, 4) /* sum of counters. */ - || __write_gcov_type (program_sum, da_file, 8) + || __write_gcov_type (merged_sum, da_file, 8) /* maximal counter. */ - || __write_gcov_type (program_max, da_file, 8)) + || __write_gcov_type (merged_max, da_file, 8)) fprintf (stderr, "arc profiling: Error updating program header %s.\n", ptr->filename); if (fclose (da_file)) |