https://bugs.winehq.org/show_bug.cgi?id=45123
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to François Gouget from comment #1)
clang-5.0 is probably obsolete: Debian Stable has clang 11.0.
We frequently fix issues in old gcc (within reason), I don't see why clang should be any different.
So is the crash still happening with newer clang versions?
It doesn't crash for me in clang-14.0.6.
I downloaded and build llvm/clang-5.0.1, a couple llvm tools wouldn't build with a modern toolchain, but clang did. With that, the bug is still present in wine-8.0.1 (used CC=clang-5.0.1 --without-mingw). If --with-mingw is used, the bug is not present.