Inlining Improvements

Jamie Lokier jamie.lokier@cern.ch
Tue Dec 21 16:00:00 GMT 1999


Martin v. Loewis wrote:
> > So we have a situation where the C++ compiler generates better code than
> > the C compiler from the same source?
> 
> It might be possible to create examples. On the average, I doubt that.
> If it is plain C code that also compiles as C++ code, inlining most
> likely happens at the same places.

The point is that tree inlining seems to generate better code than RTL
inlining which the C compiler currently does.

-- Jamie


More information about the Gcc mailing list