[Bug c++/60642] Unclear diagnostic with invalid use of abi_tag attribute on explicit instantiation
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 1 17:50:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60642
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Apr 1 17:49:38 2014
New Revision: 208992
URL: http://gcc.gnu.org/viewcvs?rev=208992&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/abi/abi-tag6.C
trunk/gcc/testsuite/g++.dg/abi/abi-tag7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/cp/mangle.c
trunk/gcc/cp/pt.c
trunk/gcc/cp/tree.c
trunk/gcc/doc/extend.texi
trunk/gcc/testsuite/g++.dg/abi/abi-tag3.C
More information about the Gcc-bugs
mailing list