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
This commit is contained in:
parent
c2b6c111b6
commit
f95f017c42
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2012-05-03 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
PR middle-end/53106
|
PR middle-end/53106
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue