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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #5)
> How about this doing this instead:
>  /* When using anchors for constants use the readonly section
>     that would have been a mergeble section.  */
> section *s = default_elf_select_rtx_section (mode, x, align);
> if ((s->flags & SECTION_MERGE) && known_le (GET_MODE_SIZE (mode), 8))
>   return readonly_data_section;

That unnecessarily creates hash entry for the various mergeable sections only
not to use them afterwards.

Reply via email to