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++/13118] [ABI] Missed covariant return thunk


------- Additional Comments From nathan at gcc dot gnu dot org  2003-11-21 09:16 -------
confirmed.
the c11-c28-c28 secondary vtable has two slots for f6. The first
was added by the c1-c1-c1 vtable and expects a c0 pointer return.
The second was added by the c11-c11-c11 vtable and expects
a c1 pointer return. (c0 is a virtual base of c1).
c11-c28-c28's first slot should point to the missing c0 in c18 adjusting
thunk (0,-24,0,-16). The second slot should point to the c1 in c18
adjusting thunk (0,-14,0,-12).

I'll try and attach a testcase that checks things at runtime.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P1
   Target Milestone|---                         |3.4


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


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