http://bugs.winehq.org/show_bug.cgi?id=11788
--- Comment #28 from Neil Skrypuch ns03ja@brocku.ca 2008-07-12 12:53:17 --- Git from about a month ago didn't work with -O2, but was fine with -O0. Unfortunately I don't remember exactly what version that was. Wine 1.1.1 seems fine either way, though.
Setting UseXIM to Y or N as suggested in bug 13143 didn't seem to have any effect.