re PR c++/65558 (crash using __attribute__((__abi_tag__)) on anonymous inline namespace)
authorMarek Polacek <polacek@redhat.com>
Wed, 25 Mar 2015 20:08:05 +0000 (20:08 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 25 Mar 2015 20:08:05 +0000 (20:08 +0000)
commit1cc57b591076b3185ba40687a26c0c9c454fcb23
treead94fffe5af6186e342198e2cc2f3e7b3d2e69d6
parent2a924bb46cd43165272ce6f1720710c38beb2c24
re PR c++/65558 (crash using __attribute__((__abi_tag__)) on anonymous inline namespace)

PR c++/65558
* name-lookup.c (handle_namespace_attrs): Ignore abi_tag attribute
on an anonymous namespace.

* g++.dg/cpp0x/pr65558.C: New test.

From-SVN: r221672
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr65558.C [new file with mode: 0644]