Fix ICE in ipa_edge_args_sum_t::duplicate
authorJan Hubicka <jh@suse.cz>
Thu, 1 Oct 2020 13:03:19 +0000 (15:03 +0200)
committerJan Hubicka <jh@suse.cz>
Thu, 1 Oct 2020 13:03:19 +0000 (15:03 +0200)
commitbc2fcccd9d5cc9d346543a98c98dc00d71e9a5b8
treebe417efb9b3e9e5376741a893fbefa4c44ba938a
parentba663ac1b1add0f1625862166a946fcb583d3686
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.
gcc/ipa-fnsummary.c
gcc/ipa-modref.c
gcc/ipa-prop.c