summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-08-09 13:28:36 +0200
committerBruno Haible <bruno@clisp.org>2020-08-09 13:28:36 +0200
commit90cc47f28487c90cecfb312c808a0710dcfbf114 (patch)
tree6c68c0a09e58fcbf88bcfdfd4739d29453f2148a
parentd6dabe8eece3a9c1269dc1c084531ce447c7a42e (diff)
downloadgnulib-90cc47f28487c90cecfb312c808a0710dcfbf114.tar.gz
intprops: Fix typo in comment.
* lib/intprops.h (_GL_HAS_BUILTIN_OVERFLOW_P): Fix typo in comment.
-rw-r--r--ChangeLog5
-rw-r--r--lib/intprops.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d259703ece..18de16e592 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2020-08-09 Bruno Haible <bruno@clisp.org>
+ intprops: Fix typo in comment.
+ * lib/intprops.h (_GL_HAS_BUILTIN_OVERFLOW_P): Fix typo in comment.
+
+2020-08-09 Bruno Haible <bruno@clisp.org>
+
Use __builtin_signbit* with clang.
* lib/math.in.h (signbit): Use __builtin_signbit{,f,l} also on clang.
* m4/signbit.m4 (gl_SIGNBIT): Use __builtin_signbit{,f,l} also on clang.
diff --git a/lib/intprops.h b/lib/intprops.h
index 6de65b067d..c0bfecd908 100644
--- a/lib/intprops.h
+++ b/lib/intprops.h
@@ -239,7 +239,7 @@
#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