[Bug c++/67369] [5/6 Regression] ICE (in tsubst_decl, at cp/pt.c:11302) with -std=c++14

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 8 15:03:00 GMT 2015


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.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.

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



More information about the Gcc-bugs mailing list