Commit 65a428db by Jan Hubicka Committed by Jan Hubicka

re PR ipa/61548 (FAIL: gcc.dg/tls/alias-1.c)


	PR ipa/61548
	* varpool.c (varpool_node::remove): Fix order of variables.

From-SVN: r220432
parent 5fe4d307
2015-02-04 Jan Hubicka <hubicka@ucw.cz> 2015-02-04 Jan Hubicka <hubicka@ucw.cz>
PR ipa/61548
* varpool.c (varpool_node::remove): Fix order of variables.
2015-02-04 Jan Hubicka <hubicka@ucw.cz>
PR ipa/64686 PR ipa/64686
* ipa-inline.c (inline_small_functions): Fix ordering issue between * ipa-inline.c (inline_small_functions): Fix ordering issue between
speculation resolution and key updates. speculation resolution and key updates.
......
...@@ -195,7 +195,6 @@ void ...@@ -195,7 +195,6 @@ void
varpool_node::remove (void) varpool_node::remove (void)
{ {
symtab->call_varpool_removal_hooks (this); symtab->call_varpool_removal_hooks (this);
unregister ();
/* When streaming we can have multiple nodes associated with decl. */ /* When streaming we can have multiple nodes associated with decl. */
if (symtab->state == LTO_STREAMING) if (symtab->state == LTO_STREAMING)
...@@ -205,6 +204,8 @@ varpool_node::remove (void) ...@@ -205,6 +204,8 @@ varpool_node::remove (void)
else if (DECL_INITIAL (decl) && DECL_INITIAL (decl) != error_mark_node else if (DECL_INITIAL (decl) && DECL_INITIAL (decl) != error_mark_node
&& !ctor_useable_for_folding_p ()) && !ctor_useable_for_folding_p ())
remove_initializer (); remove_initializer ();
unregister ();
ggc_free (this); ggc_free (this);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment