Commit f95f017c by Jan Hubicka Committed by Jan Hubicka

re PR middle-end/53093 (tls/alias-1.c ICE, emutls)


	PR middle-end/53093
	* tree-emutls.c (new_emutls_decl): Fix handling of aliases.

From-SVN: r187115
parent c2b6c111
2012-05-03 Jan Hubicka <jh@suse.cz> 2012-05-03 Jan Hubicka <jh@suse.cz>
PR middle-end/53093
* tree-emutls.c (new_emutls_decl): Fix handling of aliases.
2012-05-03 Jan Hubicka <jh@suse.cz>
PR middle-end/53106 PR middle-end/53106
* ipa.c (cgraph_remove_unreachable_nodes): Fix handling of clones. * ipa.c (cgraph_remove_unreachable_nodes): Fix handling of clones.
......
...@@ -338,7 +338,7 @@ new_emutls_decl (tree decl, tree alias_of) ...@@ -338,7 +338,7 @@ new_emutls_decl (tree decl, tree alias_of)
else else
varpool_create_variable_alias (to, varpool_create_variable_alias (to,
varpool_node_for_asm varpool_node_for_asm
(DECL_ASSEMBLER_NAME (alias_of))->symbol.decl); (DECL_ASSEMBLER_NAME (DECL_VALUE_EXPR (alias_of)))->symbol.decl);
return to; return to;
} }
......
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