From a5e1abb545ed7135966472ac23d8749bf613757d Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 24 Aug 2007 01:36:14 +0200 Subject: [PATCH] Revert accidentally committed hunk. From-SVN: r127751 --- gcc/cp/pt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 2594e7d1180..712a1e007e2 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -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)) { -- 2.30.2