https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81525

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Oct  4 15:37:09 2017
New Revision: 253414

URL: https://gcc.gnu.org/viewcvs?rev=253414&root=gcc&view=rev
Log:
        PR c++/81525 - broken handling of auto in generic lambda.

        * pt.c (tsubst_decl) [VAR_DECL]: Use strip_innermost_template_args.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-auto1.C
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-const4a.C
      - copied, changed from r253410,
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-const4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-const4.C

Reply via email to