This is the mail archive of the gcc@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: inline-unit-growth tweek


Jan Hubicka <jh@suse.cz> writes:

> in testsuite there are few reduced testcases where unit growth (an
> inliner limit - inliner is allowed to inline as long as the unit don't
> grow by given percentage, set to 50%) is too strict.

Out of curiousity, have you considered permitting inlining larger
functions if one or more of the actual arguments are constants, on the
theory that sometimes constant folding will bring the size back down
again?

Ian


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