This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60642] Unclear diagnostic with invalid use of abi_tag attribute on explicit instantiation
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Mar 2014 18:40:56 +0000
- Subject: [Bug c++/60642] Unclear diagnostic with invalid use of abi_tag attribute on explicit instantiation
- Auto-submitted: auto-generated
- References: <bug-60642-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60642
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-03-25
Summary|abi_tag attribute doesn't |Unclear diagnostic with
|work on explicit |invalid use of abi_tag
|specializations of class |attribute on explicit
|templates |instantiation
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That's not a specialization, it's an explicit instantiation, and so you don't
need the tag, it should be simply:
template class test<int>;
The error message could be clearer though, so confirming as a diagnostic bug.