re PR c++/45651 (ICE in import_export_decl, at cp/decl2.c:2344)
authorJason Merrill <jason@redhat.com>
Tue, 8 Mar 2011 17:30:25 +0000 (12:30 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 8 Mar 2011 17:30:25 +0000 (12:30 -0500)
commit2c86a82aa431b1fc370290103a95c67bc8602473
tree69a73603abcfe461311bfebcdc466e9db1d5bb29
parent530a480063ae847a74add404586d5db4ed9bf8a8
re PR c++/45651 (ICE in import_export_decl, at cp/decl2.c:2344)

PR c++/45651
* pt.c (instantiate_decl): Don't clear DECL_INTERFACE_KNOWN on
!TREE_PUBLIC decls.

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