http://bugs.winehq.org/show_bug.cgi?id=12358
--- Comment #12 from Artem S. Tashkinov t.artem@mailcity.com 2008-04-27 11:02:31 --- Dmitry,
what's your compiler version and compilation flags?
It looks like this bug is a result of GCC miscompilation or some other quirk.