https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86238
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Clang's errors have absolutely nothing to do with a vtable bug (that was a completely different bug that was demonstrated by the same code).