https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103600
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 51945 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51945&action=edit gcc12-pr103600.patch Untested patch that should make typeid(x) == typeid(y) and &typeid(x) == &typeid(y) work, but don't want to duplicate <typeinfo>, so for a testcase I'd need to wait (at least for the former case) until the libstdc++ change lands.