Message ID | DUB118-W3976CBD40A79D5C2CFE23BE4250@phx.gbl |
---|---|
State | New |
Headers | show |
Index: symtab.c =================================================================== --- symtab.c (Revision 211028) +++ symtab.c (Arbeitskopie) @@ -1165,6 +1165,8 @@ symtab_nonoverwritable_alias (symtab_node *node) else { TREE_READONLY (new_decl) = TREE_READONLY (node->decl); + TREE_SIDE_EFFECTS (new_decl) = TREE_SIDE_EFFECTS (node->decl); + DECL_INITIAL (new_decl) = DECL_INITIAL (node->decl); new_node = varpool_create_variable_alias (new_decl, node->decl); } symtab_resolve_alias (new_node, node);