This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: inline-unit-growth tweek
- From: Ian Lance Taylor <ian at airs dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: 13 Nov 2005 21:36:02 -0800
- Subject: Re: inline-unit-growth tweek
- References: <20051113174754.GU18740@kam.mff.cuni.cz>
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