Cleanup: Move ARM specific code to urcu/arch/arm.h
[urcu.git] / include / urcu / arch / arm.h
index cb8f28dc711769f2c91544b598be95c64bc83294..5d1c60836da9a34fb1f2f71783255f5532d546b3 100644 (file)
@@ -57,6 +57,19 @@ 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
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.022482 seconds and 4 git commands to generate.