------- Comment #12 from hubicka at ucw dot cz  2009-02-18 01:42 -------
Subject: Re:  LTO and -fwhole-program do not play along well

> 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?

Well, you need to localize stuff at WHOPR stage, so small IPA passes are
unlikely going to be executable there except for those not needing
function bodies (like the visibility pass, but unlike inlining and other
stuff included).  Are those still skipped via the lto flag gate?

Honza


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39203

Reply via email to