From ea8bceb4ae80d219e623342e358520536d08daac Mon Sep 17 00:00:00 2001 From: mmitchel Date: Mon, 10 Apr 2000 06:53:57 +0000 Subject: * cp-tree.h (struct lang_decl): Remove main_decl_variant. (DECL_MAIN_VARIANT): Remove. * decl.c (duplicate_decls): Don't set it. (start_function): Likewise. (lang_mark_tree): Don't mark it. * decl2.c (defer_fn): Don't use it. * lex.c (retrofit_lang_decl): Don't set it. * pt.c (tsubst_decl): Likewise. * ptree.c (print_lang_decl): Don't print it. * typeck.c (mark_addressable): Don't use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33048 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ptree.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gcc/cp/ptree.c') diff --git a/gcc/cp/ptree.c b/gcc/cp/ptree.c index aa723845616..7a234a55a35 100644 --- a/gcc/cp/ptree.c +++ b/gcc/cp/ptree.c @@ -44,11 +44,6 @@ print_lang_decl (file, node, indent) if (TREE_CODE (node) == FIELD_DECL) return; indent_to (file, indent + 3); - if (DECL_MAIN_VARIANT (node)) - { - fprintf (file, " decl-main-variant "); - fprintf (file, HOST_PTR_PRINTF, DECL_MAIN_VARIANT (node)); - } if (TREE_CODE (node) == FUNCTION_DECL && DECL_PENDING_INLINE_INFO (node)) { -- cgit v1.2.1