aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2007-08-24 01:36:14 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2007-08-24 01:36:14 +0200
commita5e1abb545ed7135966472ac23d8749bf613757d (patch)
tree9d1e6a211c88f8075ac786d469abd59456cb8b85 /gcc/cp/pt.c
parent2f4703261732681c8d2a42ebfe4850eba96cd8a0 (diff)
downloadgcc-a5e1abb545ed7135966472ac23d8749bf613757d.zip
gcc-a5e1abb545ed7135966472ac23d8749bf613757d.tar.gz
gcc-a5e1abb545ed7135966472ac23d8749bf613757d.tar.bz2
Revert accidentally committed hunk.
From-SVN: r127751
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 2594e7d..712a1e0 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))
{