* rtti.c (get_tinfo_decl): Set TREE_PUBLIC for typeinfo decls.

From-SVN: r71387
This commit is contained in:
Geoffrey Keating 2003-09-14 20:24:00 +00:00 committed by Geoffrey Keating
parent 5565e8744f
commit 80a1718866
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-09-14 Geoffrey Keating <geoffk@apple.com>
* rtti.c (get_tinfo_decl): Set TREE_PUBLIC for typeinfo decls.
2003-09-14 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog: Follow spelling conventions.

View File

@ -358,8 +358,9 @@ get_tinfo_decl (tree type)
TREE_READONLY (d) = 1;
TREE_STATIC (d) = 1;
DECL_EXTERNAL (d) = 1;
SET_DECL_ASSEMBLER_NAME (d, name);
DECL_COMDAT (d) = 1;
TREE_PUBLIC (d) = 1;
SET_DECL_ASSEMBLER_NAME (d, name);
pushdecl_top_level_and_finish (d, NULL_TREE);