On Thu, 2020-01-02 at 12:06 +0100, Martin Liška wrote:
> Hi.
>
> Again, the param is set based on optimize_size:
>
> if (opts->x_optimize_size)
> /* We want to crossjump as much as possible. */
> SET_OPTION_IF_UNSET (opts, opts_set, param_min_crossjump_insns, 1);
>
> So that, the param should be per-function. The only usage is in cfgcleanup
> that is done per-function.
>
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>
> Ready to be installed?
> Thanks,
> Martin
>
> gcc/ChangeLog:
>
> 2020-01-02 Martin Liska <mli...@suse.cz>
>
> PR optimization/92860
> * params.opt: Mark param_min_crossjump_insns with Optimization
> keyword.
OK
jeff