https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67369
--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Tue Sep 8 15:02:27 2015 New Revision: 227531 URL: https://gcc.gnu.org/viewcvs?rev=227531&root=gcc&view=rev Log: /cp 2015-09-08 Paolo Carlini <paolo.carl...@oracle.com> PR c++/67369 * pt.c (tsubst_copy, [case FUNCTION_DECL]): Do not call tsubst if the first argument isn't a template. /testsuite 2015-09-08 Paolo Carlini <paolo.carl...@oracle.com> PR c++/67369 * g++.dg/cpp1y/lambda-generic-ice4.C: New. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice4.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/pt.c branches/gcc-5-branch/gcc/testsuite/ChangeLog