rtti.c (get_tinfo_decl): Don't call comdat_linkage.
authorJason Merrill <jason@redhat.com>
Thu, 16 May 2002 04:48:52 +0000 (00:48 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 16 May 2002 04:48:52 +0000 (00:48 -0400)
commitff48be5c7926b0a806d99a63500e5937601f6865
treed488aa103427f298f243322a5f33bd64a0eed7b9
parent57cb4fe5b89460fd505d84bb85303e8c40d20fa7
rtti.c (get_tinfo_decl): Don't call comdat_linkage.

        * cp/rtti.c (get_tinfo_decl): Don't call comdat_linkage.
        Do set DECL_COMDAT.
        (synthesize_tinfo_var): Take the public decl.
        (create_real_tinfo_var): Likewise.  Check DECL_COMDAT.
        (emit_tinfo_decl): Adjust.  Call import_export_decl.
        * cp/decl2.c (import_export_decl): Simplify tinfo decl handling.
        * config/mips/mips.c (mips_output_external): Don't do sdata
        optimization for a variable with DECL_COMDAT set.

From-SVN: r53506
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/rtti.c