aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-modref-tree.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2020-10-10 20:55:37 +0200
committerJan Hubicka <jh@suse.cz>2020-10-10 20:55:37 +0200
commitc8fd2be174a15ff154a3102decb0e643f67cad02 (patch)
treef455dceccfda9e4562a5486bd794ffef7cb3f9d6 /gcc/ipa-modref-tree.h
parentf1f1008c7cd6912b6dc915524972f0217f1e0430 (diff)
downloadgcc-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.h3
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. */