From 76cf9c4d4ca76170890093705404050f96d64e85 Mon Sep 17 00:00:00 2001 From: Mikhail Kashkarov Date: Thu, 10 May 2018 19:42:20 +0300 Subject: Temp remove define for aligned attribute. Put it under build macros for libstdc++. Change-Id: I9797bb23ce02e176e9cc13a158c5f9f8d5866cb8 --- libstdc++-v3/include/bits/basic_string.h | 7 +------ 1 file changed, 1 insertion(+), 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 { -- cgit v1.2.3