https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94342
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- COMDAT is implemented in different ways. If it is through the ELF comdat groups, then in theory this can be handled, by putting the COMDAT variable (from template instantiation, or inline variable, static var in inline function etc.) into the section with the given name and use the comdat group we would normally use. If ELF comdat groups aren't supported, then we use .gnu.linkonce.* sections and in that case it can't be really supported. Nor in the non-ELF cases...