diff options
author | Martin Liska <mliska@suse.cz> | 2017-02-03 09:20:02 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-02-03 08:20:02 +0000 |
commit | e806796de03b50f1b8cddaa6e0696ab652f268ef (patch) | |
tree | fdc17253740fdcce9e854af3c077c20bd504fc47 /gcc/gimple-ssa-sprintf.c | |
parent | 6d5b4f9e713a7e6804d589dfef76ce8cad3d0f02 (diff) | |
download | gcc-e806796de03b50f1b8cddaa6e0696ab652f268ef.zip gcc-e806796de03b50f1b8cddaa6e0696ab652f268ef.tar.gz gcc-e806796de03b50f1b8cddaa6e0696ab652f268ef.tar.bz2 |
Fix memory leaks in IPA CP (PR ipa/79337).
2017-02-03 Martin Liska <mliska@suse.cz>
PR ipa/79337
* ipa-prop.c (ipa_node_params_t::insert): Remove current
implementation.
(ipa_node_params_t::remove): Likewise.
* ipa-prop.h (ipa_node_params::ipa_node_params): Make default
initialization from removed ipa_node_params_t::insert.
(ipa_node_params::~ipa_node_params): Move from removed
ipa_node_params_t::release.
* symbol-summary.h (symbol_summary::m_released): New member.
Do not release a summary twice. Do not allow to call finalizer
for types of a summary that live in GGC memory.
From-SVN: r245145
Diffstat (limited to 'gcc/gimple-ssa-sprintf.c')
0 files changed, 0 insertions, 0 deletions