]> Savannah Git Hosting - gnulib.git/commit
Speed up INT_MULTIPLY_WRAPV on macOS
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Aug 2019 11:23:44 +0000 (04:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Aug 2019 11:24:09 +0000 (04:24 -0700)
commit56663b473535ad7e6259606297a7e1f182deca9a
tree106e4056aa46284d5fae79537b3a56c0f6551a8a
parent4c352322c5f62a22a8a238071bde26c9f482fea2
Speed up INT_MULTIPLY_WRAPV on macOS

Assume that __builtin_mul_overflow works OK with Clang on macOS.
Mattias Engdegård says it’s safe to assume the relevant library
is always available there.
* lib/intprops.h (_GL_HAS___builtin_mul_overflow):
New temporary internal macro.
(_GL_HAS_BUILTIN_MUL_OVERFLOW):
No need to work around the Clang bug on macOS.
ChangeLog
lib/intprops.h