OSDN Git Service

* lto-symtab.c (lto_cgraph_replace_node): Do not remove edges;
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 15:17:10 +0000 (15:17 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 15:17:10 +0000 (15:17 +0000)
commitb55bfc2f795f4ff8d340f0c73ad2ebd75e9bde9b
tree1ff2112e47dbaf74edf8d3aa4173f865ba20cc41
parentda91c24bf7bb9a6aa04e1fb9f2f1270c90de11f7
* lto-symtab.c (lto_cgraph_replace_node): Do not remove edges;
node will be removed anyway.
(lto_varpool_replace_node): Allow also unanalyzed nodes;
relink aliases of node into prevailing node.
* varpool.c (varpool_remove_node): Remove aliases properly;
when removing node, remove all its aliases too; remove DECL_INITIAL
of removed node; ggc_free the varpool node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159031 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lto-symtab.c
gcc/varpool.c