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)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:58:35 +0000 (13:58 +0900)
commit43553138d6dc9ab8616002b2e97c085b8dba31fe
tree670474dcea39b7b0b76c914c226df34f74f2a9bf
parentc27c3cd9e486586406acb3710313f671d3758010
* 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