diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-01 14:08:01 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-01 14:08:01 +0000 |
commit | 631ceed1a81da6f7be4af53112132e9e5259c8e2 (patch) | |
tree | 182cf8fa5a93fc8486b3e28c2de7702967ed9a7f /gcc/libgcov.c | |
parent | 0b7784b5318a48d6ce183740d51fad5cccd602a1 (diff) | |
download | gcc-631ceed1a81da6f7be4af53112132e9e5259c8e2.tar.gz |
* gcov-io.h (GCOV_CHECK, GCOV_CHECK_READING,
GCOV_CHECK_WRITING): Remove.
(gcov_position, gcov_rewrite): Use gcc_assert.
* gcov-io.c (gcov_open, gcov_write_words, gcov_write_length,
gcov_read_words, gcov_sync, gcov_seek): Use gcc_assert.
* libgcov.c (__gcov_merge_single, __gcov_merge_delta): Use
gcc_assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libgcov.c')
-rw-r--r-- | gcc/libgcov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/libgcov.c b/gcc/libgcov.c index 49cf3c7004c..6e9c9d3a70b 100644 --- a/gcc/libgcov.c +++ b/gcc/libgcov.c @@ -519,7 +519,7 @@ __gcov_merge_single (gcov_type *counters, unsigned n_counters) unsigned i, n_measures; gcov_type value, counter, all; - GCOV_CHECK (!(n_counters % 3)); + gcc_assert (!(n_counters % 3)); n_measures = n_counters / 3; for (i = 0; i < n_measures; i++, counters += 3) { @@ -558,7 +558,7 @@ __gcov_merge_delta (gcov_type *counters, unsigned n_counters) unsigned i, n_measures; gcov_type last, value, counter, all; - GCOV_CHECK (!(n_counters % 4)); + gcc_assert (!(n_counters % 4)); n_measures = n_counters / 4; for (i = 0; i < n_measures; i++, counters += 4) { |