Re: ipa on all files together

2010-11-02 Thread Richard Guenther
On Tue, Nov 2, 2010 at 1:40 AM, Hongtao wrote: >  On 11/01/10 20:35, Diego Novillo wrote: >> On Mon, Nov 1, 2010 at 19:57, Hongtao wrote: >>>  Hi All, >>> >>> While using gcc-4.6 with option -flto, I found that interprocedural >>> analysis were performed on each source file separately. For exampl

Re: ipa on all files together

2010-11-01 Thread Hongtao
On 11/01/10 20:35, Diego Novillo wrote: > On Mon, Nov 1, 2010 at 19:57, Hongtao wrote: >> Hi All, >> >> While using gcc-4.6 with option -flto, I found that interprocedural >> analysis were performed on each source file separately. For example for >> the pass pass_ipa_pta, if we compile two files

Re: ipa on all files together

2010-11-01 Thread Diego Novillo
On Mon, Nov 1, 2010 at 19:57, Hongtao wrote: >  Hi All, > > While using gcc-4.6 with option -flto, I found that interprocedural > analysis were performed on each source file separately. For example for > the pass pass_ipa_pta, if we compile two files like : >         gcc -O -flto f1.c f2.c > we ha