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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 60113
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60113&action=edit
gcc15-pr118415.patch

Though I wonder why we just don't call output_constant_def, that will simplify
it and will fix PR117997 as well (use section anchors where needed etc.).

It is true we don't merge the tables across TUs that way, but we don't merge
them across TUs right now either (as TREE_PUBLIC isn't set on the symbol).

Reply via email to