[Bug c++/39494] Bad assembly when derived class has same name as virtual method

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 18 16:16:00 GMT 2009



------- Comment #3 from hjl dot tools at gmail dot com  2009-03-18 16:16 -------
Icc ia32 generates:

_ZTV7Derived:
        .type   _ZTV7Derived,@object
        .size   _ZTV7Derived,12
        .long   0   
        .long   _ZTI7Derived
        .long   __cxa_pure_virtual

Gcc generates:

        .size   _ZTV7Derived, 24
_ZTV7Derived:
        .long   0
        .long   _ZTI7Derived
        .long   __cxa_pure_virtual
        .long   _ZN7DerivedC1Ev *INTERNAL*
        .long   _ZN7DerivedC2Ev
        .long   _ZN7DerivedC1Ev


-- 


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



More information about the Gcc-bugs mailing list