https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84158
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- As C++ now has standardized attributes, the question is what does the standard say about whether standard attributes on a template are inherited to specializations or not, and if the standard is fuzzy about it, what do other compilers do.