]> Savannah Git Hosting - gnulib.git/commit
intprops: refactor _GL_HAS_BUILTIN_OVERFLOW_P
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Aug 2022 06:20:49 +0000 (23:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Aug 2022 07:22:08 +0000 (00:22 -0700)
commit7523bcf5dc9d8026006777c14e15c44430837f51
tree23f0bca4b5123a68a4a8bc14c1c1e8103e0731f3
parent5b9755278927555b18880c138525557b5ee75bd0
intprops: refactor _GL_HAS_BUILTIN_OVERFLOW_P

* lib/intprops.h (_GL_HAS_BUILTIN_OVERFLOW_P)
[_GL_HAS_BUILTIN_OVERFLOW_P]: Use __builtin_sub_overflow_p
directly rather than indirectly via INT_SUBTRACT_OVERFLOW.
This simplifies future changes, and doesn’t change the generated code.
ChangeLog
lib/intprops.h