From d3cc9179a72cebddf2057256ab8a4d421b202b21 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 28 Aug 2017 14:38:26 -0400 Subject: Avoid using GCC ivdep pragma in GCC 4.8 [ci skip] --- src/lib/utils/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/utils/compiler.h b/src/lib/utils/compiler.h index 7c2593ed8..2c9248b1e 100644 --- a/src/lib/utils/compiler.h +++ b/src/lib/utils/compiler.h @@ -149,7 +149,7 @@ #define BOTAN_PARALLEL_SIMD_FOR _Pragma("simd") for #elif defined(BOTAN_TARGET_HAS_OPENMP) #define BOTAN_PARALLEL_SIMD_FOR _Pragma("omp simd") for -#elif defined(BOTAN_BUILD_COMPILER_IS_GCC) +#elif defined(BOTAN_BUILD_COMPILER_IS_GCC) && (BOTAN_GCC_VERSION >= 490) #define BOTAN_PARALLEL_SIMD_FOR _Pragma("GCC ivdep") for #else #define BOTAN_PARALLEL_SIMD_FOR for -- cgit v1.2.3