This is the mail archive of the
mailing list for the GCC project.
Re: [Patch] C++ inlining heuristics changed (3.0.1)
Kurt Garloff wrote:
>>but, random tests using the
>>new compiler showed improved performance of the generated code by
>>up to ~30-40% (and this was plain C code)!
> Now, I have to tell you my disbelief!
> My 3.0.1 patch (as opposed to the one against 2.95.3) only changes the C++
> tree inliner (gcc/cp/optimize.c), you either have some C++ code or you use
> at least some C++ libraries ...
> Or do I miss the fact that C code now also uses the C++ tree inliner?
Oops, I forgot to mention that I used g++ to compile what is basically
plain C code, ie, no "real" classes, just plain data structs and global
>>One suggestion though; your patch is changing gcc.info-4, which is
>>a generated file. You should be re-generating your patch with changes
>>to the original .texi* files instead.
> Oops. That was not really clever.
> Will submit a new patch with this fixed and some other modifications soon.