diff options
author | Jan Hubicka <jh@suse.cz> | 2020-10-01 15:03:19 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2020-10-01 15:03:19 +0200 |
commit | bc2fcccd9d5cc9d346543a98c98dc00d71e9a5b8 (patch) | |
tree | be417efb9b3e9e5376741a893fbefa4c44ba938a /gcc/ipa-modref.c | |
parent | ba663ac1b1add0f1625862166a946fcb583d3686 (diff) | |
download | gcc-bc2fcccd9d5cc9d346543a98c98dc00d71e9a5b8.zip gcc-bc2fcccd9d5cc9d346543a98c98dc00d71e9a5b8.tar.gz gcc-bc2fcccd9d5cc9d346543a98c98dc00d71e9a5b8.tar.bz2 |
Fix ICE in ipa_edge_args_sum_t::duplicate
PR ipa/97244
* ipa-fnsummary.c (pass_free_fnsummary::execute): Free
also indirect inlining datastructure.
* ipa-modref.c (pass_ipa_modref::execute): Do not free them here.
* ipa-prop.c (ipa_free_all_node_params): Do not crash when info does
not exist.
(ipa_unregister_cgraph_hooks): Likewise.
Diffstat (limited to 'gcc/ipa-modref.c')
-rw-r--r-- | gcc/ipa-modref.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/ipa-modref.c b/gcc/ipa-modref.c index 6225552..2f4da8f 100644 --- a/gcc/ipa-modref.c +++ b/gcc/ipa-modref.c @@ -1681,8 +1681,6 @@ pass_ipa_modref::execute (function *) } ((modref_summaries *)summaries)->ipa = false; ipa_free_postorder_info (); - /* Free ipa-prop structures if they are no longer needed. */ - ipa_free_all_structures_after_iinln (); return 0; } |