]> Savannah Git Hosting - gnulib.git/commit
verify: work around xlclang 16.1 compiler bug
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Jan 2023 22:32:11 +0000 (14:32 -0800)
committerBruno Haible <bruno@clisp.org>
Sat, 14 Jan 2023 20:30:20 +0000 (21:30 +0100)
commit2351bda972ee98d85cfb3a68a1b8520d787eacac
tree7a6d30283d76ddbb57b821195515a28306bb46a4
parente637459dc6dc12d98b0593d54fd11a569ab0bdbd
verify: work around xlclang 16.1 compiler bug

Problem reported by Bruno Haible in:
https://lists.gnu.org/r/grep-devel/2023-01/msg00003.html
* lib/verify.h (_GL_HAS_BUILTIN_TRAP, _GL_HAS_BUILTIN_UNREACHABLE):
Define to 0 if compiler advertises itself as clang before version 5.
xlclang 16.1 advertises itself as 4.0.1 and this patch works
around what appears to be a compiler bug when compiling dfa.c in
bleeding-edge grep.
ChangeLog
lib/verify.h