re PR c++/67369 (ICE (in tsubst_decl, at cp/pt.c:11302) with -std=c++14)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 8 Sep 2015 15:02:01 +0000 (15:02 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 8 Sep 2015 15:02:01 +0000 (15:02 +0000)
commit761f8e2f8add70caf57b07c37b84059117031451
tree6286430f260d20fbdf737221ec0f57b21a82b67b
parent981d281fedcd06b027314608d6ea6743f314d81f
re PR c++/67369 (ICE (in tsubst_decl, at cp/pt.c:11302) with -std=c++14)

/cp
2015-09-08  Paolo Carlini  <paolo.carlini@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.carlini@oracle.com>

PR c++/67369
* g++.dg/cpp1y/lambda-generic-ice4.C: New.

From-SVN: r227530
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice4.C [new file with mode: 0644]