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]
Other format: [Raw text]

Re: [RFC/RFA?] New estimation of function body size for inlining


On Mon, 30 Jun 2003, Jan Hubicka wrote:

> this patch implements new function to estimate function size.
> Instead of counting number of statements that can be fooled by very
> complex statements in one direction and very many lexical blocks and
> similar noops in the other direction I now do simple recursive walk
> without duplicates and attempt to count everything that looks like
> operation with few special cases dealing with common NOOPs and common
> expensive expressions.

Hopefully this fixes PR 10971 where -std=c99 affected the old statement
counting because of additional scopes in C99....

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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