aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-io.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-04-18 01:33:05 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-04-17 23:33:05 +0000
commitd101590bee35f4025ee7dc8c2032e4320e79a82c (patch)
tree23752dc94793eb5296a89023e2bd1815c4e0ce8c /gcc/gcov-io.h
parent04c5580f371b08c0cccb05a520b69097512e3f62 (diff)
downloadgcc-d101590bee35f4025ee7dc8c2032e4320e79a82c.zip
gcc-d101590bee35f4025ee7dc8c2032e4320e79a82c.tar.gz
gcc-d101590bee35f4025ee7dc8c2032e4320e79a82c.tar.bz2
gcov-dump.c (tag_summary): Remove max_sum
* gcov-dump.c (tag_summary): Remove max_sum * gcov-io.h (gcov_summary, gcov_write_summary, gcov_read_summary): Kill max_sum. * libgcov.c (gcov_exit): Do one pass over the data. Make error message more verbose. From-SVN: r65758
Diffstat (limited to 'gcc/gcov-io.h')
-rw-r--r--gcc/gcov-io.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h
index 3bd2729..4da6749 100644
--- a/gcc/gcov-io.h
+++ b/gcc/gcov-io.h
@@ -120,7 +120,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
announce_function: header string:name int32:checksum
arc_counts: header int64:count*
summary: in32:checksum int32:runs int32:arcs int64:sum int64:max \
- int64:max_sum int64:sum_max
+ int64:sum_max
The ANNOUNCE_FUNCTION record is the same as that in the BBG file,
but without the source location.
@@ -220,7 +220,6 @@ struct gcov_summary
unsigned arcs; /* number of instrumented arcs */
gcov_type arc_sum; /* sum of all arc counters */
gcov_type arc_max_one; /* max counter on any one run */
- gcov_type arc_max_sum; /* maximum arc_sum */
gcov_type arc_sum_max; /* sum of max_one */
};
@@ -618,7 +617,6 @@ gcov_write_summary (unsigned tag, const struct gcov_summary *summary)
gcov_write_unsigned (summary->arcs);
gcov_write_counter (summary->arc_sum);
gcov_write_counter (summary->arc_max_one);
- gcov_write_counter (summary->arc_max_sum);
gcov_write_counter (summary->arc_sum_max);
gcov_write_length (base);
}
@@ -718,7 +716,6 @@ gcov_read_summary (struct gcov_summary *summary)
summary->arcs = gcov_read_unsigned ();
summary->arc_sum = gcov_read_counter ();
summary->arc_max_one = gcov_read_counter ();
- summary->arc_max_sum = gcov_read_counter ();
summary->arc_sum_max = gcov_read_counter ();
}