diff options
author | Martin Liska <mliska@suse.cz> | 2019-07-28 19:10:26 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-07-28 17:10:26 +0000 |
commit | fe248a88e5ec39a2faef1fb35a81f0f921fa952d (patch) | |
tree | ba5e596764b3e32248ad0ad682802284d60fddae /gcc/tree-ssa-structalias.c | |
parent | 4f394a9e1c5fffda66f822b13d2b9cc2623db653 (diff) | |
download | gcc-fe248a88e5ec39a2faef1fb35a81f0f921fa952d.zip gcc-fe248a88e5ec39a2faef1fb35a81f0f921fa952d.tar.gz gcc-fe248a88e5ec39a2faef1fb35a81f0f921fa952d.tar.bz2 |
Release cgraph_{node,edge} via ggc_free (PR ipa/89330).
2019-07-28 Martin Liska <mliska@suse.cz>
PR ipa/89330
* cgraph.c (symbol_table::create_edge): Always allocate
a cgraph_edge.
(symbol_table::free_edge): Store summary_id to
edge_released_summary_ids if != -1;
* cgraph.h (NEXT_FREE_NODE): Remove.
(SET_NEXT_FREE_NODE): Likewise.
(NEXT_FREE_EDGE): Likewise.
(symbol_table::release_symbol): Store summary_id to
cgraph_released_summary_ids if != -1;
(symbol_table::allocate_cgraph_symbol): Always allocate
a cgraph_node.
From-SVN: r273857
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions