class.c
255 KB
-
re PR c++/43120 (Virtual inheritance with covariant return type confuses GCC) · 02dea3ff
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
Jason Merrill committed