http://bugs.winehq.org/show_bug.cgi?id=29614
--- Comment #17 from Austin English austinenglish@gmail.com 2013-09-19 18:12:49 CDT --- In bug 34548, you mentioned the bug only occurring if -g is not used. I compiled riched20/riched32 without -g, but it still works fine. I also tried compiling all of wine without -g, still works.
What gcc version are you using (I'm on 4.8.1). Can you narrowing down what file has the issue?