http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-27 21:03:31 UTC --- (In reply to comment #3) > My bad! > > export LDFLAGS=-O2 -march=i686 -mtune=generic -flto > > has solved the problem. Yeah, I guess it will be one of the more common mistakes ;) > However the performance gain from -flto is still negative (0.5%) :) At the moment I would not expect much performance benefit from LTO (basically it provides inter-module inlining). What we see is consistently smaller binaries with comparable performance though.