------- Comment #9 from dnovillo at google dot com 2009-02-17 18:51 ------- Subject: Re: LTO and -fwhole-program do not play along well
On Tue, Feb 17, 2009 at 13:34, hubicka at ucw dot cz <gcc-bugzi...@gcc.gnu.org> wrote: > Essentially yes, but since we are restarting the pass queue from later > time, won't we miss the visibility pass at linktime? > This is why I think we need two passes (one very early and one scheduled > after LTO read) I believe we should be set already. During LTO read, we execute ipa_passes, which runs all_small_ipa_passes. So, pass_ipa_function_and_variable_visibility is run both while writing the IL and right after we read it in. Is that what you were referring to? Diego. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39203