IPA-CP: Always access param_ipa_max_agg_items through opt_for_fn
authorMartin Jambor <mjambor@suse.cz>
Fri, 10 Jan 2020 09:57:59 +0000 (10:57 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 10 Jan 2020 09:57:59 +0000 (10:57 +0100)
commitde2e08355aa51eb1596cfe674bf1ab1a8fc83976
treed3a7e09805d12bc8fe16a59fc341d5aed6ebb784
parent8509584524592955a721ffb7ecfb38b70eee2e51
IPA-CP: Always access param_ipa_max_agg_items through opt_for_fn

2020-01-10  Martin Jambor  <mjambor@suse.cz>

* params.opt (param_ipa_max_agg_items): Mark as Optimization
* ipa-cp.c (merge_agg_lats_step): New parameter max_agg_items, use
instead of param_ipa_max_agg_items.
(merge_aggregate_lattices): Extract param_ipa_max_agg_items from
optimization info for the callee.

From-SVN: r280098
gcc/ChangeLog
gcc/ipa-cp.c
gcc/ipa-prop.c
gcc/params.opt