[Bug c++/78337] "internal compiler error: Segmentation fault", using local variable in lambda return-type deduction
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 11 21:44:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78337
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 11 21:43:42 2017
New Revision: 244340
URL: https://gcc.gnu.org/viewcvs?rev=244340&root=gcc&view=rev
Log:
PR c++/78337 - ICE on invalid with generic lambda
* semantics.c (process_outer_var_ref): Check if containing_function
is null. Move inform call under complain test.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
More information about the Gcc-bugs
mailing list