https://bugs.winehq.org/show_bug.cgi?id=57102
--- Comment #7 from William Horvath wine@horvath.blog --- Created attachment 76995 --> https://bugs.winehq.org/attachment.cgi?id=76995 A patch to work around the issue (GCC only)
This patch seems to prevent the issue from occurring when compiled with GCC 14.2.1 (-O2 or -O1). However, Clang 18.1.8 still exhibits the issue at any optimization level. It's not the correct way to fix it, but it should at least give a pointer in the right direction as to where the problem lies.