[C++ PATCH] Fix inlined_stmts computation for inlinethrottling
Mark Mitchell
mark@codesourcery.com
Tue Apr 3 09:50:00 GMT 2001
>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:
Jakub> * optimize.c (expand_call_inline): Only add newly
Jakub> inlined statements into inlined_stmts.
Yes, this is correct. Please install your patch on both the branch
and the mainline.
The good news about this code is that as long as all the relevant
variables are monotonically increasing, it doesn't matter too much;
this only affects the aggressiveness of the inliner, and users can
always twiddle the values upwards if needs be.
Thank you for spotting my error.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-patches
mailing list