compiler.h: enable builtin overflow checkers and add fallback code
[sfrench/cifs-2.6.git] / include / linux / compiler-gcc.h
index b4bf73f5e38f0018ea85a85d7d8b1293222ad02c..f1a7492a5cc8cc59813734d1b258dbaf04bf76c8 100644 (file)
  * code
  */
 #define uninitialized_var(x) x = x
+
+#if GCC_VERSION >= 50100
+#define COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW 1
+#endif