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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jeffrey A. Law from comment #3)
> Using output_constant_def didn't even cross my mind.
> 
> I don't recall the TREE_PUBLIC part of the change, though obviously at least
> part of the goal here was to share the table if we have multiple copies
> across TUs.

I think we should try to do such sharing using linker support, e.g. SHF_MERGE
sections.
But it shouldn't be limited to just the crc tables, but anything in the
constant pool that is actually mergeable.

Reply via email to