https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87178
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #6) > OK. > > FWIW Clang seems to create two different sections called foo, one COMDAT and > one not. Does it? That is I think impossible unless bypassing assembler. If I try godbolt and look at clang++ trunk generated assembly, it doesn't honor the user sections at all, whether using inline vars or not.