On Fri, Jan 3, 2020 at 1:26 PM Martin Liška <mli...@suse.cz> wrote: > > Hi. > > One another fix where -Ox sets a parameter that > is not marked with Optimize keyword. Fixed by > adding the keyword. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed?
As said in the PR this looks wrong, possibly leading to wrong code. Richard. > Thanks, > Martin > > gcc/ChangeLog: > > 2020-01-03 Martin Liska <mli...@suse.cz> > > PR tree-optimization/92860 > * params.opt: (param_max_fields_for_field_sensitive): > Mark with Optimization keyword. > * tree-ssa-structalias.c (use_field_sensitive): Make > it a function. > (get_constraint_for_ptr_offset): Call it. > (create_variable_info_for_1): Likewise. > (init_alias_vars): Do not initialize use_field_sensitive. > --- > gcc/params.opt | 2 +- > gcc/tree-ssa-structalias.c | 15 ++++++++++----- > 2 files changed, 11 insertions(+), 6 deletions(-) > >