PR c++/84520 - ICE with generic lambda in NSDMI.
authorJason Merrill <jason@redhat.com>
Tue, 27 Feb 2018 02:44:26 +0000 (21:44 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 27 Feb 2018 02:44:26 +0000 (21:44 -0500)
commitab5f26bba1270e16317188fe1070df05ab89bb00
treeb8e572feaf9346ec92bb89192086de7eaa46822d
parentd36a19c78a67bb367ff24942db78299f24df2970
PR c++/84520 - ICE with generic lambda in NSDMI.

* lambda.c (lambda_expr_this_capture): Don't look for fake NSDMI
'this' in a generic lambda instantiation.

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