PR c++/70147 - handle primary virtual bases
* class.c (vptr_via_virtual_p): New. (most_primary_binfo): Factor out of build_rtti_vtbl_entries. * cp-ubsan.c (cp_ubsan_dfs_initialize_vtbl_ptrs): Don't clear a vptr from any virtual base in a not-in-charge 'structor. From-SVN: r234335
Showing
gcc/testsuite/g++.dg/ubsan/vptr-11.C
0 → 100644
Please
register
or
sign in
to comment