https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78188
--- Comment #22 from David Edelsohn <dje at gcc dot gnu.org> --- There are two levels of set_comdat_group(). I am going to move the assert to cgraph.h and try to find what else is setting comdat groups. Do you want me to gate IPA comdat in the interim?