Bug: call of virtual method in virtual base class implemented in derived gets wrong this

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Feb 4 15:58:00 GMT 2000


> maybe this program rings a bell for someone who knows about the VMT
> calculations

Thanks for your bug report. This is a known defect of the vtable
thunks approach (which is default on Linux). A patch is a available at

http://gcc.gnu.org/ml/gcc-patches/2000-02/msg00111.html

[For some reason, the original message to gcc-patches was lost - at
 least it is not in the archives, so I resent it]

Regards,
Martin



More information about the Gcc-bugs mailing list