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: Enable autoinlining for size at O2


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.


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