This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13118] [ABI] Missed covariant return thunk
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2003 09:16:24 -0000
- Subject: [Bug c++/13118] [ABI] Missed covariant return thunk
- References: <20031119083730.13118.grigory@stl.sarov.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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