This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r263391 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 08 Aug 2018 08:32:52 -0000
- Subject: r263391 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
Author: jakub
Date: Wed Aug 8 08:32:51 2018
New Revision: 263391
URL: https://gcc.gnu.org/viewcvs?rev=263391&root=gcc&view=rev
Log:
PR c++/86836
* pt.c (tsubst_expr): For structured bindings, call tsubst_decomp_names
before tsubst_init, not after it.
* g++.dg/cpp1z/decomp46.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp1z/decomp46.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog