Index: openmp/trunk/runtime/src/kmp_barrier.cpp =================================================================== --- openmp/trunk/runtime/src/kmp_barrier.cpp +++ openmp/trunk/runtime/src/kmp_barrier.cpp @@ -32,7 +32,7 @@ #else #define ngo_load(src) ((void)0) #define ngo_store_icvs(dst, src) copy_icvs((dst), (src)) -#define ngo_store_go(dst, src) memcpy((dst), (src), CACHE_LINE) +#define ngo_store_go(dst, src) KMP_MEMCPY((dst), (src), CACHE_LINE) #define ngo_sync() ((void)0) #endif /* KMP_MIC && USE_NGO_STORES */ Index: openmp/trunk/runtime/src/kmp_safe_c_api.h =================================================================== --- openmp/trunk/runtime/src/kmp_safe_c_api.h +++ openmp/trunk/runtime/src/kmp_safe_c_api.h @@ -23,9 +23,7 @@ # define RSIZE_MAX_STR ( 4UL << 10 ) // 4KB // _malloca was suggested, but it is not a drop-in replacement for _alloca -// TODO: test performance and replace with _alloca (as below) -# define KMP_ALLOCA alloca -//# define KMP_ALLOCA _alloca +# define KMP_ALLOCA _alloca # define KMP_MEMCPY_S memcpy_s # define KMP_SNPRINTF sprintf_s