]> 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)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Jan 2023 06:06:10 +0000 (22:06 -0800)
commit8805a44cf04253f63bce160054e2fbf21ab9beb1
treee730803a64e03fde75daf1cf1cc9c5f7b3dad8af
parent7b5d355edb9a3026f66844a266f7439c52489091
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