This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix inlined_stmts computation for inlinethrottling
- To: jakub at redhat dot com
- Subject: Re: [C++ PATCH] Fix inlined_stmts computation for inlinethrottling
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 03 Apr 2001 09:52:50 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <20010403140327.D611@sunsite.ms.mff.cuni.cz>
>>>>> "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