]> gcc.gnu.org Git - gcc.git/commit
re PR c++/86288 (Recognize __gnu and/or __gnu__ as attribute-namespace)
authorJakub Jelinek <jakub@redhat.com>
Wed, 24 Oct 2018 19:39:23 +0000 (21:39 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 24 Oct 2018 19:39:23 +0000 (21:39 +0200)
commitdf51934dcee2328fb6a257bdda7e177f8b2cc6a2
tree91b13013e71b1e4391571125e25ce32e8a618ec7
parenta703b16ba4c641e3e23f2630f9ae13d50fc9d7cf
re PR c++/86288 (Recognize __gnu and/or __gnu__ as attribute-namespace)

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.

From-SVN: r265470
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/gen-attrs-66.C [new file with mode: 0644]
This page took 0.062039 seconds and 5 git commands to generate.