--- Comment #13 from dnovillo at google dot com 2009-02-18 12:26 ---
Subject: Re: LTO and -fwhole-program do not play
along well
On Tue, Feb 17, 2009 at 20:42, hubicka at ucw dot cz
gcc-bugzi...@gcc.gnu.org wrote:
--- Comment #12 from hubicka at ucw dot cz 2009-02-18
--- Comment #1 from dnovillo at gcc dot gnu dot org 2009-02-17 16:15
---
I think the easiest way to handle this would be for the driver to disable
-fwhole-program when the IL is being generated. Otherwise, all the symbols are
privatized.
--
--
dnovillo at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |dnovillo at gcc dot gnu dot
|dot org
--- 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
--- Comment #3 from dnovillo at google dot com 2009-02-17 17:55 ---
Subject: Re: LTO and -fwhole-program do not play
along well
On Tue, Feb 17, 2009 at 12:43, hubicka at ucw dot cz
gcc-bugzi...@gcc.gnu.org wrote:
--- Comment #2 from hubicka at ucw dot cz 2009-02-17
--- Comment #4 from hubicka at ucw dot cz 2009-02-17 18:01 ---
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
--- Comment #5 from rguenther at suse dot de 2009-02-17 18:01 ---
Subject: Re: LTO and -fwhole-program do not
play along well
On Tue, 17 Feb 2009, dnovillo at google dot com wrote:
--- Comment #2 from hubicka at ucw dot cz 2009-02-17 17:43 ---
Subject: Re: LTO and
--- 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
--- Comment #7 from dnovillo at google dot com 2009-02-17 18:05 ---
Subject: Re: LTO and -fwhole-program do not play
along well
On Tue, Feb 17, 2009 at 13:01, hubicka at ucw dot cz
gcc-bugzi...@gcc.gnu.org wrote:
This is intended behaviour.
Agreed.
-fwhole-program
--- 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
--- 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
--- Comment #10 from dnovillo at gcc dot gnu dot org 2009-02-17 21:38
---
Subject: Bug 39203
Author: dnovillo
Date: Tue Feb 17 21:38:05 2009
New Revision: 144248
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144248
Log:
2009-02-17 Diego Novillo dnovi...@google.com
PR
--- 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
13 matches
Mail list logo