compiler.h: enable builtin overflow checkers and add fallback code
[sfrench/cifs-2.6.git] / include / linux / compiler-intel.h
index bfa08160db3a46c5bb798b63650717815d08158b..547cdc920a3c8128e704e207b125d2c644cc3b15 100644 (file)
@@ -44,3 +44,7 @@
 #define __builtin_bswap16 _bswap16
 #endif
 
+/*
+ * icc defines __GNUC__, but does not implement the builtin overflow checkers.
+ */
+#undef COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW