aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1999-08-07 17:53:40 -0400
committerJason Merrill <jason@gcc.gnu.org>1999-08-07 17:53:40 -0400
commitb5df0cedb5cbc98b8d791e3297eff2321959e2d3 (patch)
tree46e6746d56b1994ef9d030eea2895dd070d3328a /gcc
parent5c7675e906021641485a90e7cc4e9171194e937e (diff)
downloadgcc-b5df0cedb5cbc98b8d791e3297eff2321959e2d3.zip
gcc-b5df0cedb5cbc98b8d791e3297eff2321959e2d3.tar.gz
gcc-b5df0cedb5cbc98b8d791e3297eff2321959e2d3.tar.bz2
revert
From-SVN: r28587
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/pt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index bab7634..357b1d1 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -3616,7 +3616,6 @@ maybe_get_template_decl_from_type_decl (decl)
return (decl != NULL_TREE
&& TREE_CODE (decl) == TYPE_DECL
&& DECL_ARTIFICIAL (decl)
- && CLASS_TYPE_P (decl)
&& CLASSTYPE_TEMPLATE_INFO (TREE_TYPE (decl)))
? CLASSTYPE_TI_TEMPLATE (TREE_TYPE (decl)) : decl;
}