[PATCH] Mark param_max_fields_for_field_sensitive with Optimization keyword.

Jeff Law law@redhat.com
Mon Jan 6 16:41:00 GMT 2020


On Fri, 2020-01-03 at 13:26 +0100, Martin Liška 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?
> Thanks,
> Martin
> 
> gcc/ChangeLog:
> 
> 2020-01-03  Martin Liska  <mliska@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(-)
> 
> 
OK
jeff



More information about the Gcc-patches mailing list