A few days ago I was told that recent versions of g++ produce "better" x86 code than MSVC 2008. Basically GCC with full optimization produces faster applications than MSVC with full optimizations.
While it's certainly correct to state that this, if true, depends a great deal on the application and the C++ code used (and I'm in the process of evaluating this claim for my application), I'm wondering what do others think.
In essence, what have been your personal experiences when comparing the output of these two compilers?
I'm asking about MinGW, but if your experience with vanilla GCC is somehow valid here, feel free to share that too.