https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65610
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Haven't debugged that part yet. Looking at decl_maybe_in_construction_p, we'd probably need to treat functions with DECL_ABSTRACT_ORIGIN being ctor or dtor. I can look into this on Monday...