lto-symtab.c (lto_cgraph_replace_node): Release function body.
authorJan Hubicka <jh@suse.cz>
Thu, 25 Jul 2013 13:24:58 +0000 (15:24 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 25 Jul 2013 13:24:58 +0000 (13:24 +0000)
commit4f63dfc6ad7071c758a15ee4028da7ef3a14b9e1
tree14aa9bef47ee98d36445bd25cd1f85866bad036d
parente6dcfa183238b81d4e69669cb091a09f116db8e7
lto-symtab.c (lto_cgraph_replace_node): Release function body.

* lto-symtab.c (lto_cgraph_replace_node): Release function body.
* cgraph.c (cgraph_remove_node): Do not release function body
when in cgraph streaming.
* ipa.c (process_references, symtab_remove_unreachable_nodes): Objects
in other partitions are not considered reachable; fix handling of clones.

From-SVN: r201242
gcc/ChangeLog
gcc/cgraph.c
gcc/ipa.c
gcc/lto-symtab.c