summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/make/cctk_Config.h.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/make/cctk_Config.h.in b/lib/make/cctk_Config.h.in
index d20e6ad2..9bbff426 100644
--- a/lib/make/cctk_Config.h.in
+++ b/lib/make/cctk_Config.h.in
@@ -170,9 +170,13 @@
#undef CCTK_REAL4
/* Disable 'restrict' for compiler versions known to be buggy */
+/* Note that at the time of writing this comment, only versions up to and
+ * including 20130313 have been tested. Newer versions might actually not
+ * show this bug and the workaround could then be removed. At the moment
+ * the workaround is enabled for any version >= 20121010 to be on the
+ * safe side.
# if (defined __INTEL_COMPILER && \
__INTEL_COMPILER_BUILD_DATE >= 20121010 && \
- __INTEL_COMPILER_BUILD_DATE <= 20130313 && \
!defined CCTK_INTEL_COMPILER_DONT_DISABLE_RESTRICT )
#define CCTK_DISABLE_RESTRICT 1
#endif