https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87767
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- There are quite some .rodata optimizations we don't handle, merging of different size / mode constants being one of them, ordering by access patterns another (IMHO size should win here). I guess in principle post-processing of the constant pool should be possible at output_constant_pool time when we add the ability to have multiple labels (with extra offset) per constant pool entry. I've once tried some tricks at constant pool entry creation time (IIRC it was sharing vector constant with scalar constant entries when they match at the first element).