https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111134
--- Comment #2 from Manuel Hohmann <manuelhohmann at online dot de> --- (In reply to Andrew Pinski from comment #1) I see. I did not think about the possibility of inlining functions. Could you elaborate how this would affect the proposed goal? Naively I would assume that the code gets inlined, but would still reference the same variables / constants / string literals in their respective .data / .rodata sections, and so one could rename those sections nevertheless.