This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [C++ PATCH] Fix inlined_stmts computation for inlinethrottling


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]