https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66223
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Your call. Anyway, I'd appreciate if for -fsanitize=undefined we could make sure that __cxa_pure_virtual will be called in all cases in which it would be called without optimizing, rather than just for the most common cases. Whether we guard that by flag_sanitize & SANITIZE_UNREACHABLE or SANITIZE_PURE_VIRTUAL doesn't matter that much.