Message ID | alpine.LNX.2.00.1008261617410.28912@zhemvz.fhfr.qr |
---|---|
State | New |
Headers | show |
Index: gcc/tree.c =================================================================== --- gcc/tree.c (revision 163562) +++ gcc/tree.c (working copy) @@ -2474,8 +2474,7 @@ decl_address_invariant_p (const_tree op) return true; case VAR_DECL: - if (((TREE_STATIC (op) || DECL_EXTERNAL (op)) - && !DECL_DLLIMPORT_P (op)) + if ((TREE_STATIC (op) || DECL_EXTERNAL (op)) || DECL_THREAD_LOCAL_P (op) || DECL_CONTEXT (op) == current_function_decl || decl_function_context (op) == current_function_decl)