This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Fix other/44566
- From: Andi Kleen <andi at firstfloor dot org>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Joern Rennecke <amylaar at spamcop dot net>, Mark Mitchell <mark at codesourcery dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>, Steven Bosscher <stevenb dot gcc at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 01 Jul 2010 11:10:54 +0200
- Subject: Re: RFA: Fix other/44566
- References: <4C27810D.9030705@codesourcery.com> <20100627140458.oou4kzesyskwgg8w-nzlynne@webmail.spamcop.net> <Pine.LNX.4.64.1006271832220.6858@digraph.polyomino.org.uk> <20100627152431.gq8x5kalcg4gk08g-nzlynne@webmail.spamcop.net> <Pine.LNX.4.64.1006271926330.6858@digraph.polyomino.org.uk> <20100627164133.mag8uuvehwk8wg0o-nzlynne@webmail.spamcop.net> <Pine.LNX.4.64.1006272108520.6858@digraph.polyomino.org.uk> <20100627181235.lxazuy8a5cco0ks0-nzlynne@webmail.spamcop.net> <4C27D2EB.8020103@codesourcery.com> <20100627190450.15v1mp0p4404g0gc-nzlynne@webmail.spamcop.net> <20100627233650.GE21666@atrey.karlin.mff.cuni.cz>
Jan Hubicka <hubicka@ucw.cz> writes:
>
> I've setup WHOPR bootstrap and I use it daily. It is sort of in useable stage.
> Main observation is that we build backend _really_ many times. Our LTO
> code is still doing one build to produce .o and then compile again, so it
> is automatically about twice sloer.
I also noticed that LTO always compiles twice for other projects. I
understand this is needed for compatibility with old Makefiles that do
not invoke the linking step correctly. But it still seems like quite a
waste for updated Makefiles. Would it be possible to turn the first code
generation step off and only rely on the link to code generation?
-Andi
--
ak@linux.intel.com -- Speaking for myself only.