summaryrefslogtreecommitdiff
path: root/gcc/cp/ptree.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-10 06:53:57 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-10 06:53:57 +0000
commitea8bceb4ae80d219e623342e358520536d08daac (patch)
treeb726f0ebf7f8dbab38ace424055884259f6194ce /gcc/cp/ptree.c
parent1e67c2e8b78d43f42a7b36b00de59322d8c2de6c (diff)
downloadgcc-ea8bceb4ae80d219e623342e358520536d08daac.tar.gz
* 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
Diffstat (limited to 'gcc/cp/ptree.c')
-rw-r--r--gcc/cp/ptree.c5
1 files changed, 0 insertions, 5 deletions
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))
{