aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parse.c
diff options
context:
space:
mode:
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;}