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

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot 
com> ---
On Tue, 1 May 2018, peter at cordes dot ca wrote:

> The current strings + pointer-table implementation doesn't merge string
> literals where one string is a suffix of another; this is another a

The linker does that, as well as merging identical strings in different 
translation units, via strings going in specially marked string sections 
(".section .rodata.str1.1,"aMS",@progbits,1").  These proposed 
optimizations would interfere with such linker optimizations, so they 
might not be a code size win.

Reply via email to