This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-02-25 15:54 -------
Doens't work for me with 4.1.3 20080114, 4.2.3 or 4.3.0 20080219.  Works with
4.0.4 20060904.

The bogus reference is here:

.LEFDE5:
        .hidden DW.ref.__gxx_personality_v0
        .weak   DW.ref.__gxx_personality_v0
        .section       
.data.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
        .align 4
        .type   DW.ref.__gxx_personality_v0, @object
        .size   DW.ref.__gxx_personality_v0, 4
DW.ref.__gxx_personality_v0:
        .long   __gxx_personality_v0
        .hidden _ZTVN10__cxxabiv117__class_type_infoE
        .hidden _ZTI1A
        .hidden _ZTV1A


Maybe related to PR19159, but that is for systems w/o weak support.  This
is a regression on the 4.1/4.2 branches.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmitchel at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
      Known to fail|4.3.0                       |4.1.3 4.2.3 4.3.0
      Known to work|4.2.1                       |4.0.4 4.2.1
           Priority|P3                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2008-02-25 15:54:38
               date|                            |
            Summary|With #pragma visibility,    |[4.1/4.2/4.3/4.4 Regression]
                   |`vtable for                 |With #pragma visibility,
                   |__cxxabiv1::__class_type_inf|`vtable for
                   |o' is emitted as a hidden-  |__cxxabiv1::__class_type_inf
                   |visibility relocation       |o' is emitted as a hidden-
                   |                            |visibility relocation
   Target Milestone|---                         |4.1.3


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]