summaryrefslogtreecommitdiff
path: root/gcc/gcov-io.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-17 23:33:05 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-17 23:33:05 +0000
commit8bd3f2d8af0812c8bb9dd48f8424d01d0524eca8 (patch)
tree23752dc94793eb5296a89023e2bd1815c4e0ce8c /gcc/gcov-io.h
parentd9b3752cfeeaf26ccafe0a3b20f69dcd2d1e4a0c (diff)
downloadgcc-8bd3f2d8af0812c8bb9dd48f8424d01d0524eca8.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65758 138bc75d-0d04-0410-961f-82ee72b054a4
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 3bd2729d9d2..4da674921dc 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 ();
}