On Thu, 2020-01-02 at 12:07 +0100, Martin Liška wrote:
> Hi.
> 
> The param is changed here:
> 
>    /* Restrict the amount of work combine does at -Og while retaining
>       most of its useful transforms.  */
>    if (opts->x_optimize_debug)
>      SET_OPTION_IF_UNSET (opts, opts_set, param_max_combine_insns, 2);
> 
> and so that it should be per-function. The only usage is in combine RTL
> pass, which is per-function optimization.
> 
> 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 tree-optimization/92860
>       * params.opt: Mart param_max_combine_insns with Optimization
>       keyword.
OK
jeff


Reply via email to