]> Savannah Git Hosting - gnulib.git/commit
dfa: work around Clang 15 bug
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Jan 2023 06:06:10 +0000 (22:06 -0800)
committerBruno Haible <bruno@clisp.org>
Sat, 14 Jan 2023 20:21:44 +0000 (21:21 +0100)
commitd1dd2b1a87f81c3c2fda4a57f8db26111b7164ca
treefa7a19baf191352254e60ff8a3c43f8334b56b53
parent32a72f45374c9a36afa574d1a08bb98090270012
dfa: work around Clang 15 bug

Problem reported by Kenton Groombridge in:
https://lists.gnu.org/archive/html/bug-gawk/2022-12/msg00010.html
On x86-64, Clang 15 gets confused by a call (X ? dfaerror :
dfawarn) (Y) and generates the wrong code, presumably because
dfaerror is _Noreturn and dfawarn is not.
* lib/dfa.c (parse_bracket_exp): Reword to have one call for
dfaerror, the other for dfawarn.
ChangeLog
lib/dfa.c