void-packages/srcpkgs/diffutils/patches/gcc7-builtin_add_overflow.patch
2017-05-08 12:22:19 +02:00

11 lines
487 B
Diff

--- lib/intprops.h 2016-08-05 01:38:16.000000000 +0200
+++ lib/intprops.h 2017-05-08 12:19:47.703724356 +0200
@@ -223,7 +223,7 @@
: (max) >> (b) < (a))
/* True if __builtin_add_overflow (A, B, P) works when P is null. */
-#define _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL (7 <= __GNUC__)
+#define _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL (7 < __GNUC__)
/* The _GL*_OVERFLOW macros have the same restrictions as the
*_RANGE_OVERFLOW macros, except that they do not assume that operands