re PR c++/82293 (ICE in nonlambda_method_basetype at gcc/cp/lambda.c:886)
authorPaolo Carlini <paolo@gcc.gnu.org>
Wed, 29 Nov 2017 21:54:18 +0000 (21:54 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 29 Nov 2017 21:54:18 +0000 (21:54 +0000)
commitcc6fe784486b77d96bd4cb9cb1d6556c1d5480fb
treeedced92b46072cae0548f7af7900988498be436a
parente3704417fa5e3ab896ae766087783b098a2f2f8f
re PR c++/82293 (ICE in nonlambda_method_basetype at gcc/cp/lambda.c:886)

/cp
2017-11-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/82293
* lambda.c (nonlambda_method_basetype): Don't use LAMBDA_TYPE_P
on a null type.

/testsuite
2017-11-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/82293
* g++.dg/cpp0x/lambda/lambda-ice24.C: New.

From-SVN: r255254
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice24.C [new file with mode: 0644]