https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- • The run-time type information (RTTI) of an object can only be accessed from the device on which it was constructed. is weird, because RTTI can be queried not just on objects, but on types, and there doesn't need to be any object associated with that type.