On Thu, Sep 16, 2010 at 10:55:22AM +0200, Andi Kleen wrote: > Try reading some examples from http://embed.cs.utah.edu/embarrassing/ > Since the criteria of the comparisons is code size it can show > you where gcc is behind some other compilers > > (but note that these comparisons do not include the best compilers > for small size and also do not run with -Os currently)
I'm not denying that there is lots of room for -Os code size improvements, but from the http://embed.cs.utah.edu/embarrassing/ results GCC doesn't perform that bad in comparison with other compilers (gcc 3.4 best, then icc and then gcc 4.5), and all the results there were from -Os compilations across the different compilers. Jakub