------- Comment #2 from hubicka at ucw dot cz 2009-02-17 17:43 ------- Subject: Re: LTO and -fwhole-program do not play along well
Hi, functions are brought local in function_and_variable_visibility that needs to be scheduled after LTO is read in. The pas computes externaly_visible flags that should be up-to-date for early IPA passes before LTO is written out, so I guess we need early function_and_vairable_visibility pass and late one where the first one is not bringing functions local at -fwhole-program -lto Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39203