Inlining Improvements

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Dec 31 23:54:00 GMT 1999


> > > The point is that tree inlining seems to generate better code than RTL
> > > inlining which the C compiler currently does.
> > 
> > Examples?
> > 
> 
> No problem: looks at some recent linux-2.3.xxx kernel source:

Pardon? How is this example relevant to tree inlining? Tree inlining
is currently done only by the C++ compiler, and the kernel is not
compiled by the C++ compiler.

I have no doubt macros generate better code than inline functions, in
any version of gcc. But that was not my question.

Regards,
Martin



More information about the Gcc mailing list