From: Jakub Jelinek Date: Thu, 23 Aug 2007 23:36:14 +0000 (+0200) Subject: Revert accidentally committed hunk. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5e1abb545ed7135966472ac23d8749bf613757d;p=gcc.git Revert accidentally committed hunk. From-SVN: r127751 --- 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)) {