diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-29 21:19:10 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-29 21:19:10 +0000 |
commit | f01f20801d56a91fafd44bbdfb6ea691cd065046 (patch) | |
tree | ac8d51ac3e224b015d329e29e83234c8093f3647 /gcc/gcov-io.c | |
parent | f224753cb06317eaa457fc339ad9b10159371387 (diff) | |
download | gcc-f01f20801d56a91fafd44bbdfb6ea691cd065046.tar.gz |
PR c++/12175
* varasm.c (notice_global_symbol): Discard external symbols.
PR optimization/12286
* gcov-io.c (gcov_read_words): Fix memmove call.
* profile.c (compute_branch_probabilities): Add extra sanity checks.
PR C++/12047
* except.c (build_eh_type_type): Call mark_used on the type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71916 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcov-io.c')
-rw-r--r-- | gcc/gcov-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcov-io.c b/gcc/gcov-io.c index 820b1f61701..99731f79939 100644 --- a/gcc/gcov-io.c +++ b/gcc/gcov-io.c @@ -361,7 +361,7 @@ gcov_read_words (unsigned words) memcpy (gcov_var.buffer, gcov_var.buffer + gcov_var.offset, 4); } #else - memmove (gcov_var.buffer, gcov_var.buffer + gcov_var.offset, excess); + memmove (gcov_var.buffer, gcov_var.buffer + gcov_var.offset, excess * 4); #endif gcov_var.offset = 0; gcov_var.length = excess; |