Blacklist GCC 4.4.0, 4.4.1 and 4.4.2 on ARM
[urcu.git] / include / urcu / arch / arm.h
index cb8f28dc711769f2c91544b598be95c64bc83294..e904b06e461cd56a6aa30fe685340cf51501193c 100644 (file)
@@ -57,6 +57,28 @@ extern "C" {
 #define __NR_membarrier                389
 #endif
 
+/*
+ * Error out for compilers with known bugs.
+ */
+
+/*
+ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854
+ */
+#ifdef URCU_GCC_VERSION
+# if URCU_GCC_VERSION >= 40800 && URCU_GCC_VERSION <= 40802
+#  error Your gcc version produces clobbered frame accesses
+# endif
+#endif
+
+/*
+ * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42263
+ */
+#ifdef URCU_GCC_VERSION
+# if URCU_GCC_VERSION >= 40400 && URCU_GCC_VERSION <= 40402
+#  error Your gcc version has a non-functional __sync_synchronize()
+# endif
+#endif
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.022546 seconds and 4 git commands to generate.