]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/60642 (Unclear diagnostic with invalid use of abi_tag attribute on explicit...
authorJason Merrill <jason@redhat.com>
Tue, 1 Apr 2014 17:49:38 +0000 (13:49 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 1 Apr 2014 17:49:38 +0000 (13:49 -0400)
commit2982147e0fd2dd4c280b7b68a5b1d784a7a077b1
treec54130f7a2a0a694cfbc8ec485ff5ca05b1525c4
parent2bcbca7e7c8f6e1c750d23134af9706fce360dd5
re PR c++/60642 (Unclear diagnostic with invalid use of abi_tag attribute on explicit instantiation)

PR c++/60642
* decl2.c (is_late_template_attribute): Don't defer abi_tag.
* mangle.c (write_unqualified_name): Fix abi_tag on templates.
* pt.c (get_template_info): Handle NAMESPACE_DECL.
(most_general_template): Handle more kinds of template.
* tree.c (handle_abi_tag_attribute): Ignore abi_tag on template
instantiations and specializations.

From-SVN: r208992
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/mangle.c
gcc/cp/pt.c
gcc/cp/tree.c
gcc/doc/extend.texi
gcc/testsuite/g++.dg/abi/abi-tag3.C
gcc/testsuite/g++.dg/abi/abi-tag6.C [new file with mode: 0644]
gcc/testsuite/g++.dg/abi/abi-tag7.C [new file with mode: 0644]