https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108490
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #5) > (In reply to Jonathan Wakely from comment #2) > > Yes. The attribute has to be there, so it's a Circle bug if it doesn't > > support that grammar. > > Why can't it be before the friend specifier? Of course, it doesn't mean the bug isn't on the Circle side.