This is the mail archive of the
mailing list for the GCC project.
Re: [C++ PATCH] Serious time and code quality regression withinlining on trees
>>>>> "Jason" == Jason Merrill <email@example.com> writes:
>> If I understand correctly, this case occurs because of our
>> destructive modification of functions. When we output a
>> function, we actually transform it to contain the inlining of
>> the functions it calls, and then we forget about the inlining
>> we've already done...
Jason> FWIW, the RTL inliner's solution to this is to disable
Jason> inlining once the function has been emitted.
Do you think that's a better solution? To me, it seems simpler, but
inferior. I always figured that was just because emitting RTL
actually made it hard to inline the function again; a problem we don't
have on trees.
Mark Mitchell firstname.lastname@example.org
CodeSourcery, LLC http://www.codesourcery.com