diff options
author | Jan Hubicka <jh@suse.cz> | 2020-10-10 20:55:37 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2020-10-10 20:55:37 +0200 |
commit | c8fd2be174a15ff154a3102decb0e643f67cad02 (patch) | |
tree | f455dceccfda9e4562a5486bd794ffef7cb3f9d6 /gcc/ipa-modref-tree.h | |
parent | f1f1008c7cd6912b6dc915524972f0217f1e0430 (diff) | |
download | gcc-c8fd2be174a15ff154a3102decb0e643f67cad02.zip gcc-c8fd2be174a15ff154a3102decb0e643f67cad02.tar.gz gcc-c8fd2be174a15ff154a3102decb0e643f67cad02.tar.bz2 |
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.
Diffstat (limited to 'gcc/ipa-modref-tree.h')
-rw-r--r-- | gcc/ipa-modref-tree.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ipa-modref-tree.h b/gcc/ipa-modref-tree.h index 8d7f286..b37280d 100644 --- a/gcc/ipa-modref-tree.h +++ b/gcc/ipa-modref-tree.h @@ -496,8 +496,7 @@ struct GTY((user)) modref_tree /* Copy OTHER to THIS. */ void copy_from (modref_tree <T> *other) { - auto_vec <modref_parm_map, 32> parm_map; - merge (other, &parm_map); + merge (other, NULL); } /* Search BASE in tree; return NULL if failed. */ |