http://bugs.winehq.org/show_bug.cgi?id=17971
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Component|ole32 |-unknown AssignedTo|wine-bugs@winehq.org |kennybobs@o2.co.uk
--- Comment #4 from Ken Sharp kennybobs@o2.co.uk 2009-07-10 19:34:13 --- OK, tried again...
Tested gcc -O1 again just to make sure, and the workaround fails.
So, decided to try the individual option that -O1 is supposed to enable according to the manual: http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/Optimize-Options.html#Optimize-O...
Annoyingly, this bug doesn't pop up when enabling all the options listed under -O1. So either -O1 is doing something that isn't documented, or it is doing something it shouldn't.
Had problems compiling GCC 4.4.0, but I'll give it another go later and try and figure out what is going on. I'm still leaning toward a GCC bug, but I still need to prove it.