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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Anyway, if we don't go the output_constant_def way, we'd need to change the
name (see above patch), make it public at least if target supports hidden
visibility, set DECL_VISIBILITY{,_SPECIFICIED}, use DECL_RTL of the VAR_DECL
for the address instead of trying to build it by hand (so that it handles
-fsection-anchors properly) and use some hash table to look up already built
tables (because we need the VAR_DECL rather than just IDENTIFIER_NODE to get at
the DECL_RTL).
output_constant_def is earier in that it handles the hashing already.

Reply via email to