[Bug lto/56700] Optimizing at compile and link result in different binary size than only optimizing at link time
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 24 11:39:00 GMT 2013
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.
More information about the Gcc-bugs
mailing list