[Bug c++/86288] Recognize __gnu and/or __gnu__ as attribute-namespace
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 24 19:40:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86288
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 24 19:39:23 2018
New Revision: 265470
URL: https://gcc.gnu.org/viewcvs?rev=265470&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/g++.dg/cpp0x/gen-attrs-66.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list