summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>2018-05-10 19:42:20 +0300
committerMikhail Kashkarov <m.kashkarov@partner.samsung.com>2018-05-10 19:42:20 +0300
commit76cf9c4d4ca76170890093705404050f96d64e85 (patch)
tree9525a9589704fc898fcb2550d813219606392fb7
parent5fc8c25979f50a184391c8570065d6ce5fb71abb (diff)
downloadlinaro-gcc-76cf9c4d4ca76170890093705404050f96d64e85.tar.gz
linaro-gcc-76cf9c4d4ca76170890093705404050f96d64e85.tar.bz2
linaro-gcc-76cf9c4d4ca76170890093705404050f96d64e85.zip
Temp remove define for aligned attribute.sandbox/mkashkarov/sanitize_string_company
Put it under build macros for libstdc++. Change-Id: I9797bb23ce02e176e9cc13a158c5f9f8d5866cb8
-rw-r--r--libstdc++-v3/include/bits/basic_string.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libstdc++-v3/include/bits/basic_string.h b/libstdc++-v3/include/bits/basic_string.h
index 8c353771ec6..098c31f8e19 100644
--- a/libstdc++-v3/include/bits/basic_string.h
+++ b/libstdc++-v3/include/bits/basic_string.h
@@ -3010,12 +3010,7 @@ _GLIBCXX_END_NAMESPACE_CXX11
size_type _M_length;
size_type _M_capacity;
_Atomic_word _M_refcount;
- }
-#ifdef _GLIBCXX_HAS_ASAN
- __attribute__((aligned(8)));
-#else
- ;
-#endif
+ } __attribute__((aligned(8)));
struct _Rep : _Rep_base
{