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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> The question is why data1/2 live in .rodata rather than in the mergeable
> strings section.

Because they are named constant objects, not unnamed string literals, and
therefore GCC cannot allow them to overlap at runtime by emitting them to a
mergeable section... unless the compiler somehow proves that overlap is not
observable?

Reply via email to