aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parse.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-08 20:12:35 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-08 20:12:35 +0000
commit2a1e9fdd031c5fcdc35b78d4bb6b9800cb82eafc (patch)
treeadf9be1d936c0ca1288a7994361c1272e150dc7e /gcc/cp/parse.c
parentce3700e3ba57f07a44a2edc9d8b146a7682bb54e (diff)
downloadgcc-2a1e9fdd031c5fcdc35b78d4bb6b9800cb82eafc.zip
gcc-2a1e9fdd031c5fcdc35b78d4bb6b9800cb82eafc.tar.gz
gcc-2a1e9fdd031c5fcdc35b78d4bb6b9800cb82eafc.tar.bz2
cp-tree.h (copy_to_permanent): Remove.
* cp-tree.h (copy_to_permanent): Remove. (permanent_p): Likewise. * decl.c (building_typename_type): Don't use copy_to_permanent. (start_decl): Likewise. (grok_reference_init): Likewise. (cp_finish_decl): Likewise. * init.c (build_new_1): Don't use mapcar. (build_vec_delete_1): Don't use copy_to_permanent. (build_vec_init): Likewise. * parse.y (primary): Likewise. * parse.c: Regenerated. * pt.c (push_template_decl_real): Don't use copy_to_permanent. (lookup_template_class): Likewise. (tsubst_friend_function): Likewise. (instantiate_class_template): Likewise. (tsubst_decl): Likewise. (tsubst): Likewise. (instantiate_template): Likewise. (unify): Likewise. * rtti.c (get_tinfo_fn): Likewise. (build_dynamic_cast): Likewise. * semantics.c (finish_if_stmt_cond): Likewise. (finish_while_stmt_cond): Likewise. (finish_do_stmt): Likewise. (finish_for_cond): Likewise. (finish_for_expr): Likewise. (finish_cleanup): Likewise. (add_decl_stmt): Likewise. (finish_named_return_value): Likewise. (finish_qualified_call_expr): Likewise. * tree.c (perm_manip): Remove. (build_exception_variant): Don't use copy_to_permanent. (permanent_p): Remove. (copy_to_permament): Remove. (build_min_nt): Don't use copy_to_permanent. (build_min): Likewise. (min_tree_cons): Likewise. * typeckc.c (build_static_cast): Likewise. (build_reinterpret_cast): Likewise. (build_const_cast): Likewise. From-SVN: r29211
Diffstat (limited to 'gcc/cp/parse.c')
-rw-r--r--gcc/cp/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parse.c b/gcc/cp/parse.c
index 80e6bf45..9ec4903 100644
--- a/gcc/cp/parse.c
+++ b/gcc/cp/parse.c
@@ -5820,7 +5820,7 @@ case 340:
case 341:
#line 1542 "parse.y"
{ if (processing_template_decl)
- yyval.ttype = build_min_nt (COMPONENT_REF, yyvsp[-1].ttype, copy_to_permanent (yyvsp[0].ttype));
+ yyval.ttype = build_min_nt (COMPONENT_REF, yyvsp[-1].ttype, yyvsp[0].ttype);
else
yyval.ttype = build_object_ref (yyval.ttype, OP0 (yyvsp[0].ttype), OP1 (yyvsp[0].ttype)); ;
break;}