This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Inlining again...


Op wo 07-05-2003, om 21:22 schreef Richard Guenther:
> > That's your stmt count: 130 if you repace "some code" with "return;":
> >
> > template <bool f>
> > struct blah {
> > 	void foo() { if (f) { return; } }
> > };
> >
> > void bar()
> > {
> > 	blah<false>().foo();
> > }
> >
> > Yes. 130. I can only: ouch.
> 
> Ouch. I suppose this wont improve until we get at least, say, DCE at the
> tree level? Dont we have something like that - I remember a patch during
> the last month doing early DCE...

That patch is unrelated.  It deals with expanding to RTL which is
exactly what we do _not_ do with inlinable functions.  Like I've said
earlier, this is a front end issue.

Greetz
Steven



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]