Fix modref handling of parameter adjustments and jump functions.
authorJan Hubicka <jh@suse.cz>
Sat, 10 Oct 2020 18:55:37 +0000 (20:55 +0200)
committerJan Hubicka <jh@suse.cz>
Sat, 10 Oct 2020 18:55:37 +0000 (20:55 +0200)
commitc8fd2be174a15ff154a3102decb0e643f67cad02
treef455dceccfda9e4562a5486bd794ffef7cb3f9d6
parentf1f1008c7cd6912b6dc915524972f0217f1e0430
Fix modref handling of parameter adjustments and jump functions.

* ipa-modref-tree.h (struct modref_tree): Revert prevoius change.
* ipa-modref.c (analyze_function): Dump original summary.
(modref_read): Only set IPA if streaming summary (not optimization
summary).
(remap_arguments): New function.
(modref_transform): New function.
(compute_parm_map): Fix offset calculation.
(ipa_merge_modref_summary_after_inlining): Do not merge stores when
they can be ignored.
gcc/ipa-modref-tree.h
gcc/ipa-modref.c