ipa on all files together

Hongtao yu171@purdue.edu
Mon Nov 1 23:57:00 GMT 2010


 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 have the pass run twice, one for each source file. So is there a way
that can perform IPA on all source files together?


Thanks,
Hongtao
Purdue University



More information about the Gcc mailing list