http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56700
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ebotcazou at gcc dot | |gnu.org Resolution| |INVALID --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2013-03-24 11:39:15 UTC --- > So not optimizing for size during compile leads to worse results than omitting > lto at all for gcc-4.8 > > I thought optimizations can be ommitted completely during compile, when doing > lto. Absolutely not, where did you get this info from? You should pass the same optimization options at compile and link stage, the compiler will do the rest.