https://bugs.winehq.org/show_bug.cgi?id=50257
--- Comment #10 from Gerald Pfeifer gerald@pfeifer.com --- (In reply to Gen Otsuji from comment #9)
So, if on Linux it gets segfault the same way, I 'm sorry. Just I found it on FreeBSD.
Yes, openSUSE Tumbleweed with GCC 10.2.1 segfaults your example as well, Gen. (I'm not sure how this is related to the issue at hand.)