https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104834
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I think it is the vtable for std::thread::_State_impl which looks broken and not the deconstructor. Note I think there are different issues here too and not really related to another one. The enum issue is seperate from the vtable issue.