aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/pt.c')
-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 c799368..540f577 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -6371,7 +6371,6 @@ lookup_template_class (tree d1,
type_decl = create_implicit_typedef (DECL_NAME (gen_tmpl), t);
DECL_CONTEXT (type_decl) = TYPE_CONTEXT (t);
- TYPE_STUB_DECL (t) = type_decl;
DECL_SOURCE_LOCATION (type_decl)
= DECL_SOURCE_LOCATION (TYPE_STUB_DECL (template_type));
}