]> Savannah Git Hosting - gnulib.git/commit
verify: avoid __builtin_assume
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Sep 2020 00:40:22 +0000 (17:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Sep 2020 00:44:13 +0000 (17:44 -0700)
commitc9c4db5dd2e327d58b6ee1734037904123caa0e3
tree2d1549e6a82816984ede888b7e20ebd40a489384
parent1cc98c12499b2ef7b6f67591bafbfb230f8f8330
verify: avoid __builtin_assume

Our latest attempt to use Clang’s __builtin_assume caused a crash
in GNU Emacs that we spent quite some time tracking down as being
caused by the switch to __builtin_assume.  It’s not known whether
the crash is due is a Clang bug or a portability bug in GNU Emacs.
For now, play it safe and avoid __builtin_assume.
* lib/verify.h (_GL_HAS_BUILTIN_ASSUME): Remove.
(assume): Simplify by not trying to use Clang’s __builtin_assume.
ChangeLog
lib/verify.h