re PR c++/32596 (ICE with inline template specialization in anonymous namespace)
authorJakub Jelinek <jakub@redhat.com>
Tue, 28 Aug 2007 16:08:02 +0000 (18:08 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 28 Aug 2007 16:08:02 +0000 (18:08 +0200)
commit92d0af977fea398604540282f2ff2789dd525eaa
tree2419cf0c920ad4437cda9f7d671ade83c7f294b4
parent6a1eb6a415d1a6336064babf147fba345e0d42bb
re PR c++/32596 (ICE with inline template specialization in anonymous namespace)

PR c++/32596
PR c++/32400
* pt.c (check_explicit_specialization): Set DECL_INTERFACE_KNOWN
and DECL_NOT_REALLY_EXTERN if tmpl_func is not public.

* g++.dg/ext/visibility/anon5.C: New test.

From-SVN: r127863
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/visibility/anon5.C [new file with mode: 0644]