This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: mainline "exploding"
Op di 14-10-2003, om 23:08 schreef Joe Buck:
> On Tue, 14 Oct 2003, Jan Hubicka wrote:
> >
> > > 2) go ahead and enable unit-at-a-time by default for C++ at all levels
>
> On Tue, Oct 14, 2003 at 02:28:53PM +0200, Michael Matz wrote:
> > IMHO, if possible we should go this way. Maybe combined with lower limits
> > at -O1. In the long run I see no sense in having two inlining heuristics.
>
> Certainly if we have two inlining algorithms we have to keep maintaining,
> tuning, and bug-fixing two inlining algorithms. Making the poorer one go
> away seems advisable. I might have been confused, but the main argument
> I heard against using unit-at-a-time all the time was memory, so if we
> actually need more memory to use the old algorithm in many cases, that kills
> that.
Jan, with unit-at-a-time, do we always keep functions around as trees?
In that case perhaps that ugly -funit-at-a-time should go away, just
re-use -finline-functions.
Gr.
Steven