https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86288
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Nov 5 14:09:10 2018 New Revision: 265803 URL: https://gcc.gnu.org/viewcvs?rev=265803&root=gcc&view=rev Log: Backported from mainline 2018-10-24 Jakub Jelinek <ja...@redhat.com> PR c++/86288 * parser.c (cp_parser_std_attribute): Canonicalize attr_ns, and when :: is not present and attr_ns non-NULL, canonicalize also attr_id. (cp_parser_attribute_spec): Fix comment typo. * g++.dg/cpp0x/gen-attrs-66.C: New test. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/gen-attrs-66.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/parser.c branches/gcc-8-branch/gcc/testsuite/ChangeLog