summaryrefslogtreecommitdiffstats
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index d04ec2356a9..959bd54e93d 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -8290,8 +8290,7 @@ tsubst_copy_and_build (t, args, complain, in_decl)
initializers as they are identifier nodes which will be
looked up by digest_init. */
purpose_p = !(type && IS_AGGR_TYPE (type));
- for (elts = tsubst_copy (CONSTRUCTOR_ELTS (t), args, complain,
- in_decl);
+ for (elts = CONSTRUCTOR_ELTS (t);
elts;
elts = TREE_CHAIN (elts))
{
OpenPOWER on IntegriCloud