https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78188
--- Comment #19 from David Edelsohn <dje at gcc dot gnu.org> ---
I will try
if (HAVE_COMDAT_GROUP)
symbol->set_comdat_group (comdat_group);
else
symbol->set_comdat_group (NULL);
in varasm.c:make_decl_one_only().
