Re: [PATCH] Mark -free as Optimization option.

2020-01-06 Thread Jeff Law
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 p

[PATCH] Mark -free as Optimization option.

2020-01-02 Thread Martin Liška
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 o