https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101203
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- We also can't guarantee that the address of the new function is unique across shared libraries, making the test in _M_equal unreliable. The technique in std::any has a fallback to using RTTI.