On Thu, 2020-01-02 at 12:04 +0100, Martin Liška wrote:
> Hi.
>
> The flag is set based on optimization option:
> gcc/common/config/i386/i386-common.c: { OPT_LEVELS_2_PLUS, OPT_free, NULL,
> 1 },
>
> and so that it should be also per-function. The only usage of the flag is
> in gate of a RTL pass, so that it will use on function selection.
>
> 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
> * common.opt: Make flag_ree as optimization
> attribute.
>
> gcc/testsuite/ChangeLog:
>
> 2020-01-02 Martin Liska <mli...@suse.cz>
>
> PR tree-optimization/92860
> * gcc.dg/pr92860.c: New test.
OK
jeff