diff options
author | Kostya Serebryany <kcc@google.com> | 2014-01-14 15:00:10 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-01-14 15:00:10 +0000 |
commit | 6e53cfc1acaaa7263a239a35c2a22328fe9d06fe (patch) | |
tree | 858b32acae685c22a01875ff46444834dcf20f26 | |
parent | aa2e61f3fcc79ebe86f69f1b0db1d9feb05d3b57 (diff) | |
download | bcm5719-llvm-6e53cfc1acaaa7263a239a35c2a22328fe9d06fe.tar.gz bcm5719-llvm-6e53cfc1acaaa7263a239a35c2a22328fe9d06fe.zip |
[tsan] one more explicit memset in tsan rtl (to please gcc 4.8.2)
llvm-svn: 199216
-rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_vector.h b/compiler-rt/lib/tsan/rtl/tsan_vector.h index bd2363ff74a..ae84522a7dc 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_vector.h +++ b/compiler-rt/lib/tsan/rtl/tsan_vector.h @@ -82,7 +82,7 @@ class Vector { EnsureSize(size); if (old_size < size) { for (uptr i = old_size; i < size; i++) - begin_[i] = T(); + internal_memset(&begin_[i], 0, sizeof(begin_[i])); } } |