From: Markus Scherer Date: Wed, 1 Mar 2017 23:58:37 +0000 (+0000) Subject: ICU-12992 disable U_ALIASING_BARRIER for now X-Git-Tag: release-59-rc~119^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c7d1b2deb2d86a023ce2d03ca14754fdd5dd667;p=icu ICU-12992 disable U_ALIASING_BARRIER for now X-SVN-Rev: 39722 --- diff --git a/icu4c/source/common/unicode/char16ptr.h b/icu4c/source/common/unicode/char16ptr.h index 672fa46ed27..d58426a0296 100644 --- a/icu4c/source/common/unicode/char16ptr.h +++ b/icu4c/source/common/unicode/char16ptr.h @@ -25,7 +25,7 @@ U_NAMESPACE_BEGIN */ #ifdef U_ALIASING_BARRIER // Use the predefined value. -#elif defined(__clang__) || defined(__GNUC__) +#elif 0 // TODO: only some versions of clang?? defined(__clang__) || defined(__GNUC__) # define U_ALIASING_BARRIER(ptr) asm volatile("" : "+rm"(ptr)) #endif