This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]