https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61659
--- Comment #24 from Jason Merrill <jason at gcc dot gnu.org> --- Created attachment 33407 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33407&action=edit Patch for 4.9 Here's a patch for the 4.9 branch. I'm nervous about applying it because I suspect that we haven't yet found all the effects of setting DECL_COMDAT.