[Bug c++/82565] [7/8 Regression] Concept and lambda return type deduction cause compilation to crash with "mmap: Cannot allocate memory"
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 13 20:23:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82565
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Mar 13 20:22:31 2018
New Revision: 258502
URL: https://gcc.gnu.org/viewcvs?rev=258502&root=gcc&view=rev
Log:
PR c++/82565 - ICE with concepts and generic lambda.
* pt.c (instantiate_decl): Clear fn_context for lambdas.
Added:
trunk/gcc/testsuite/g++.dg/concepts/lambda1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list