https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115410
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I am not so sure. Many times the comparison becomes a string comparison and not comparing the vtable.
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 09 Jun 2024 23:09:07 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115410
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I am not so sure. Many times the comparison becomes a string comparison and not comparing the vtable.