From 51c97c4c50cdafe260369dbc46b6eee598dafad3 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 14 Aug 1998 11:03:01 +0000 Subject: [PATCH] * rtti.c (get_tinfo_fn): Don't mess with the context for now. From-SVN: r21729 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/rtti.c | 10 ---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 3a9ad524b83e..ad847f4b8392 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1998-08-14 Jason Merrill + + * rtti.c (get_tinfo_fn): Don't mess with the context for now. + 1998-08-13 Mumit Khan * decl2.c (import_export_class): Don't use dllexport diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 0750fa3649bf..0087bc394678 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -369,16 +369,6 @@ get_tinfo_fn (type) DECL_MUTABLE_P (d) = 1; TREE_TYPE (name) = copy_to_permanent (type); - /* We set DECL_CONTEXT for the benefit of backend stuff that wants to - know what type this artificial function is associated with. dllexport - handling, for instance. This is a kludge, and the DECL_NO_STATIC_CHAIN - bit is necessary to keep local classes from breaking. */ - if (IS_AGGR_TYPE (type)) - { - DECL_CONTEXT (d) = type; - DECL_NO_STATIC_CHAIN (d) = 1; - } - pushdecl_top_level (d); make_function_rtl (d); assemble_external (d); -- 2.47.2