https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117683
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto, missed-optimization --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- I think the RTTI "names" merely need to be unique (but maybe the C++ frontend emits them elsewhere as well, like for direct compares?), so replacing them globally (covering all RTTI interactions in the programs/shlibs involved) with minimum size 1:1 mappings should be possible. Not sure how to do this, possibly LTO could be used for all RTTI data that doesn't "escape" the unit? Post-processing all binaries/libraries in a system is probably not easily possible.