aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/rtti.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/rtti.cc')
-rw-r--r--gcc/cp/rtti.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/rtti.cc b/gcc/cp/rtti.cc
index 18bc479..c06a18b 100644
--- a/gcc/cp/rtti.cc
+++ b/gcc/cp/rtti.cc
@@ -468,6 +468,7 @@ get_tinfo_decl_direct (tree type, tree name, int pseudo_ix)
DECL_IGNORED_P (d) = 1;
TREE_READONLY (d) = 1;
TREE_STATIC (d) = 1;
+ TREE_ADDRESSABLE (d) = 1;
/* Tell equal_address_to that different tinfo decls never
overlap. */
if (vec_safe_is_empty (unemitted_tinfo_decls))