------- Comment #6 from dnovillo at google dot com 2009-02-17 18:04 ------- Subject: Re: LTO and -fwhole-program do not play along well
On Tue, Feb 17, 2009 at 13:02, rguenther at suse dot de <gcc-bugzi...@gcc.gnu.org> wrote: > Well, of course. Just the idea that -flto can be used easily without > too much makefile adjustment doesn't play well here. If I specify > -fwhole-program only at link time, will it still do the > necessary privatization? Yes, it should. But I think we could provide the added benefit of turning off -fwhole-program when generating IL from the front ends. It's just a single line change. Diego. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39203