LTO question

Diego Novillo dnovillo@google.com
Tue Oct 13 14:53:00 GMT 2009


On Tue, Oct 13, 2009 at 09:46, Bingfeng Mei <bmei@broadcom.com> wrote:

> Thanks. It works. I thought -fwhole-program was used with --combine and they are replaced
> by -flto. Now it seems that -flto is equivalent of --combine, and -fwhole-program is still
> important.

That's approximately correct, yes.  --combine will likely be
deprecated soon in favour of -flto.  The -fwhole-program flag simply
allows the inter-procedural optimizer to make more aggressive
assumptions.


Diego.



More information about the Gcc mailing list