This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r251001 - in /branches/gcc-7-branch/gcc: cp/Cha...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 09 Aug 2017 20:17:56 -0000
- Subject: r251001 - in /branches/gcc-7-branch/gcc: cp/Cha...
Author: jason
Date: Wed Aug 9 20:17:55 2017
New Revision: 251001
URL: https://gcc.gnu.org/viewcvs?rev=251001&root=gcc&view=rev
Log:
PR c++/81525 - wrong constant value with generic lambda
* pt.c (tsubst_decl) [VAR_DECL]: Avoid clobbering auto.
(tsubst_copy) [VAR_DECL]: Handle auto.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-const4.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/pt.c