lto-symtab.c (lto_cgraph_replace_node): Free decl_in_state.
authorJan Hubicka <jh@suse.cz>
Fri, 30 Aug 2013 07:33:06 +0000 (09:33 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 30 Aug 2013 07:33:06 +0000 (07:33 +0000)
commit256eefa9a9497fae8dcc8bb96c8a28dd9c3e6dc8
tree64eb6436c13bf84949443327cd89e6ca2e8bee1c
parent3f0fdc34ffab3a288401fd51c95851f1e8d445bf
lto-symtab.c (lto_cgraph_replace_node): Free decl_in_state.

* lto-symtab.c (lto_cgraph_replace_node): Free decl_in_state.
* cgraph.c (cgraph_release_function_body): Free decl_in_state.
* lto-section-in.c (lto_free_function_in_decl_state): New function.
(lto_free_function_in_decl_state_for_node): New function.

* lto.c (read_cgraph_and_symbols): Remove ggc_collect;
clear section node; add comment why we do not collect.

From-SVN: r202093
gcc/cgraph.c
gcc/lto-section-in.c
gcc/lto-symtab.c
gcc/lto/ChangeLog
gcc/lto/lto.c