re PR c++/43120 (Virtual inheritance with covariant return type confuses GCC)
PR c++/43120 * cp-tree.h (BV_LOST_PRIMARY): New macro. * class.c (update_vtable_entry_for_fn): Fix covariant thunk logic. Set BV_LOST_PRIMARY. (build_vtbl_initializer): Check BV_LOST_PRIMARY. From-SVN: r162008
Showing
gcc/testsuite/g++.dg/abi/covariant6.C
0 → 100644
Please
register
or
sign in
to comment