aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-08-28 14:38:26 -0400
committerJack Lloyd <[email protected]>2017-08-28 14:38:26 -0400
commitd3cc9179a72cebddf2057256ab8a4d421b202b21 (patch)
treee2d13ede385924fb6a8269c5b423760c5220f4da
parent2d3d3f68677faa9152bedb7d4b0835fa93b1f4e6 (diff)
Avoid using GCC ivdep pragma in GCC 4.8 [ci skip]
-rw-r--r--src/lib/utils/compiler.h2
1 files changed, 1 insertions, 1 deletions
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