[Bug c++/84098] [8 Regression] ICE when using a lambda in a in-class static member initialization
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 30 19:05:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84098
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jan 30 19:05:12 2018
New Revision: 257199
URL: https://gcc.gnu.org/viewcvs?rev=257199&root=gcc&view=rev
Log:
PR c++/84098 - ICE with lambda in template NSDMI.
* pt.c (instantiate_class_template_1): Ignore more lambdas.
Added:
trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda19.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list