This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/60642] Unclear diagnostic with invalid use of abi_tag attribute on explicit instantiation


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]