https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63892
--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> --- As written right now, redirect_callers case doesn't have a fallthru into the create_thunk case, i.e. we have to redirect all callers (and all other references to it, but the latter we don't handle right now) and then thunk won't be created. So, the question is what test to add there to redirect_callers setting, or if we could change not just callers, but other references too. Perhaps just adding !DECL_VIRTUAL_P (alias->decl) could do the job. Or, do we have vtable references also to non-DECL_VIRTUAL_P functions?