Re: Infrastructure for optimization level sensitive PARAM_ values

2019-06-11 Thread Jan Hubicka
> Hmm, so looking at > > +DEFPARAM_Ofast (PARAM_ALLOW_STORE_DATA_RACES, > "allow-store-data-races", > "Allow new data races on stores to be introduced.", > - 0, 0, 1) > + 0, 1, 0, 1) > > once we want to have different defaults for -Os, -O2 and -Ofast > we need

Re: Infrastructure for optimization level sensitive PARAM_ values

2019-06-11 Thread Richard Biener
On Tue, 11 Jun 2019, Jan Hubicka wrote: > Hi, > we plan to work on optimizing -O2 better for C++ code. This should > involve enabling some limited auto-inlining and possibly other opts. To > not ruin code size we plan to tune down the newly introduced > optimizations as well as some of existing o