Revert accidentally committed hunk.
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 23 Aug 2007 23:36:14 +0000 (01:36 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 23 Aug 2007 23:36:14 +0000 (01:36 +0200)
From-SVN: r127751

gcc/cp/pt.c

index 2594e7d11805978630bf007629d92e8640003308..712a1e007e2eda952fd764df7d21cc643b409461 100644 (file)
@@ -2215,8 +2215,6 @@ check_explicit_specialization (tree declarator,
               /* This specialization has the same linkage and visibility as
                  the function template it specializes.  */
               TREE_PUBLIC (decl) = TREE_PUBLIC (tmpl_func);
-             if (! TREE_PUBLIC (decl) && DECL_INTERFACE_KNOWN (tmpl_func))
-               DECL_INTERFACE_KNOWN (decl) = 1;
               DECL_THIS_STATIC (decl) = DECL_THIS_STATIC (tmpl_func);
               if (DECL_VISIBILITY_SPECIFIED (tmpl_func))
                 {