Commit 7acc97e0 by Jan Hubicka Committed by Jan Hubicka

* libgcc2.c (__bb_exit_func): Properly write the summarized statistics.

From-SVN: r56603
parent 23327dae
Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz>
* libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.c (classify_argument): Properly compute word size of the analyzed object.
......
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment