[Bug c++/13118] [ABI] Missed covariant return thunk
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 21 09:16:00 GMT 2003
------- 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
More information about the Gcc-bugs
mailing list