https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87178
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I believe it is rejects-invalid instead. comdat works at the section granularity, so can't really work if you force inline vars with other vars into the same section.