[Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 27 09:27:00 GMT 2008



------- Comment #12 from jakub at gcc dot gnu dot org  2008-02-27 09:27 -------
Subject: Bug 35368

Author: jakub
Date: Wed Feb 27 09:26:24 2008
New Revision: 132705

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132705
Log:
        PR c++/35368
        * rtti.c: Include c-pragma.h.
        (push_abi_namespace, pop_abi_namespace): New functions.
        (build_dynamic_cast_1, tinfo_base_init, get_pseudo_ti_index,
        create_tinfo_types, emit_support_tinfos): Use them.
        * Make-lang.in (cp/rtti.o): Depend on $(C_PRAGMA_H).

        * g++.dg/ext/visibility/typeinfo2.C: New test.
        * g++.dg/ext/visibility/typeinfo3.C: New test.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/ext/visibility/typeinfo2.C
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/ext/visibility/typeinfo3.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/Make-lang.in
    branches/gcc-4_3-branch/gcc/cp/rtti.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35368



More information about the Gcc-bugs mailing list