r246289 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...

jason@gcc.gnu.org jason@gcc.gnu.org
Mon Mar 20 18:49:00 GMT 2017


Author: jason
Date: Mon Mar 20 18:49:10 2017
New Revision: 246289

URL: https://gcc.gnu.org/viewcvs?rev=246289&root=gcc&view=rev
Log:
	PR c++/79640 - infinite recursion with generic lambda.

	* pt.c (tsubst_copy) [VAR_DECL]: Register the dummy instantiation
	before substituting its initializer.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-const3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c



More information about the Gcc-cvs mailing list