Of course I had to try it out. I found that building Wine lead to GCC dieing with
... dlls/kernel32/console.c:1691:1: internal compiler error: Segmentation fault
I also found
... dlls/kernel32/computername.c:701:1: internal compiler error: Segmentation fault
I eventually stumbled my way into the enclosed patch which lets GCC build Wine with -Og.
I'm not sure if this change (or something similar) makes sense for Wine. I'm fairly certain some changes make sense for GCC (I suspect that GCC should not segfault).
I haven't submitted a bug for GCC because I suspect they'll want me to provide something simpler to compile than the Wine source tree. I certainly won't be upset if someone beats me too it. I'm not sure how much time in the near future I'll spend on it. "Eventually" is probably the word that fits.
At any rate, I wanted to at least share my experiences in case anyone is interested in heading down the same path.
--
Jim