]> Savannah Git Hosting - gnulib.git/commitdiff
Revert autoupdate's revert.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Aug 2020 17:44:24 +0000 (19:44 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 10 Aug 2020 17:44:48 +0000 (19:44 +0200)
* config/srclist.txt: Mark intprops.h as needing sync with glibc.

ChangeLog
config/srclist.txt
lib/intprops.h

index d249d3774091cab725d742e18a2e2c7f09ef8a74..19b964ac298c5f2c575333e414495c4de50638ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-08-10  Bruno Haible  <bruno@clisp.org>
+
+       Revert autoupdate's revert.
+       * config/srclist.txt: Mark intprops.h as needing sync with glibc.
+
 2020-08-09  Bruno Haible  <bruno@clisp.org>
 
        string: Fix build error in C++ mode with clang (regression from today).
index 429cb949e7db78bd9b3db43af7f9a6b5e2087b1e..679bc2a46daefec1ee03f25e8ed24e221b95243a 100644 (file)
@@ -53,7 +53,7 @@ $LIBCSRC include/scratch_buffer.h     lib/malloc
 $LIBCSRC malloc/scratch_buffer_grow.c  lib/malloc
 $LIBCSRC malloc/scratch_buffer_grow_preserve.c lib/malloc
 $LIBCSRC malloc/scratch_buffer_set_array_size.c        lib/malloc
-$LIBCSRC include/intprops.h             lib
+#$LIBCSRC include/intprops.h             lib
 $LIBCSRC posix/regcomp.c               lib
 $LIBCSRC posix/regex.c                 lib
 $LIBCSRC posix/regex.h                 lib
index 6de65b067d414437be45bc878d03043a253f60d4..2ab1b6ff6a9aa390ea749f4b00e4336d71d97e44 100644 (file)
@@ -86,6 +86,7 @@
 /* Does the __typeof__ keyword work?  This could be done by
    'configure', but for now it's easier to do it by hand.  */
 #if (2 <= __GNUC__ \
+     || (4 <= __clang_major__) \
      || (1210 <= __IBMC__ && defined __IBM__TYPEOF__) \
      || (0x5110 <= __SUNPRO_C && !__STDC__))
 # define _GL_HAVE___TYPEOF__ 1
 #endif
 
 /* True if __builtin_add_overflow_p (A, B, C) works, and similarly for
-   __builtin_mul_overflow_p and __builtin_mul_overflow_p.  */
+   __builtin_sub_overflow_p and __builtin_mul_overflow_p.  */
 #define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__)
 
 /* The _GL*_OVERFLOW macros have the same restrictions as the