------- Comment #8 from hubicka at ucw dot cz 2009-02-17 18:34 ------- Subject: Re: LTO and -fwhole-program do not play along well
> > -fwhole-program essentially hides everything except for main and > > functions/variables explicitly marked via attribute, so this is > > exepcted. You need to use --combine and or -lto to compile programs > > consisting of multiple compilation units with -fwhole-program. > > Yes. As I just replied upthread, I think we could just turn off > flag_whole_program when we know we are just generating IL out of the > front ends. 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) Honza > > > Diego. > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39203 > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39203