projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f47032
)
Revert accidentally committed hunk.
author
Jakub Jelinek
<jakub@gcc.gnu.org>
Thu, 23 Aug 2007 23:36:14 +0000
(
01:36
+0200)
committer
Jakub Jelinek
<jakub@gcc.gnu.org>
Thu, 23 Aug 2007 23:36:14 +0000
(
01:36
+0200)
From-SVN: r127751
gcc/cp/pt.c
patch
|
blob
|
history
diff --git
a/gcc/cp/pt.c
b/gcc/cp/pt.c
index 2594e7d11805978630bf007629d92e8640003308..712a1e007e2eda952fd764df7d21cc643b409461 100644
(file)
--- 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))
{