diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-01-24 10:04:21 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-01-24 10:04:21 +0000 |
commit | b3b7bbcea6810ef9318c99c81c25efc35567fc74 (patch) | |
tree | 90b9c84c64985ca70fa038b9fd9f02382e2c9fd9 /gcc/ipa-prop.c | |
parent | a57264ecda70d1623208a8df2dc258e1e7a204c5 (diff) | |
download | gcc-b3b7bbcea6810ef9318c99c81c25efc35567fc74.tar.gz |
[PR 79198] Call ipa-prop func summary destructor
2017-01-24 Martin Jambor <mjambor@suse.cz>
PR bootstrap/79198
* ipa-prop.c (ipa_free_all_node_params): Call summary destructor.
* ipa-prop.c (ipa_node_params_t::insert): Initialize fields known_csts
and known_contexts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244860 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r-- | gcc/ipa-prop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 512bcbed0cb..834c27d100e 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -3574,6 +3574,7 @@ ipa_free_all_edge_args (void) void ipa_free_all_node_params (void) { + ipa_node_params_sum->~ipa_node_params_t (); ipa_node_params_sum = NULL; } @@ -3742,6 +3743,8 @@ ipa_node_params_t::insert (cgraph_node *, ipa_node_params *info) { info->lattices = NULL; info->ipcp_orig_node = NULL; + info->known_csts = vNULL; + info->known_contexts = vNULL; info->analysis_done = 0; info->node_enqueued = 0; info->do_clone_for_all_contexts = 0; |