On Tue, Oct 13, 2009 at 09:46, Bingfeng Mei <b...@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.