https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63164

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Sure, but that is the only way how to make the optimization reliable.
If the a local type (i.e. mangled for RTTI with * character at the start), it
can just do the name pointer comparison (or perhaps compare the type_info
address?).
Adding an optimization that works only sometimes doesn't look right.

Reply via email to