[Bug c++/84520] [6/7/8 Regression] ICE with lambda and static member function
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 27 02:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84520
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Feb 27 02:44:26 2018
New Revision: 258021
URL: https://gcc.gnu.org/viewcvs?rev=258021&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-nsdmi1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/lambda.c
More information about the Gcc-bugs
mailing list