This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enable autoinlining for size at O2
- From: "Manuel López-Ibáñez" <lopezibanez at gmail dot com>
- To: "Jan Hubicka" <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 4 Sep 2007 17:18:15 +0100
- Subject: Re: Enable autoinlining for size at O2
- References: <20070904161042.GB30523@kam.mff.cuni.cz>
On 04/09/07, Jan Hubicka <jh@suse.cz> wrote:
> + @item -finline-small-functions
> + @opindex finline-small-functions
> + Integrate functions into their callers when their body is smaller than expected
> + function call code (so overall size of program gets smaller). The compiler
> + heuristically decides which functions are simple enough to be worth integrating
> + in this way.
> +
> + Enabled at level @option{-O2}.
> +
If this works as advertised, why not enable it with -Os also?
Also, all testsuite changes are fixes. No testcases to check that this
will keep working in the future?
Cheers,
Manuel.