Inlining Improvements
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Tue Dec 21 09:46:00 GMT 1999
> 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.
I believe that the main advantage is in terms of memory consumption in
the compiler itself.
> Are there plans to add the tree inlining to C any time soon?
I can't answer that question.
Regards,
Martin
More information about the Gcc
mailing list