[Bug c++/81236] Crash when calling a template member function from generic lambda
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 18 18:37:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81236
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Sep 18 18:37:16 2017
New Revision: 252946
URL: https://gcc.gnu.org/viewcvs?rev=252946&root=gcc&view=rev
Log:
PR c++/81236 - ICE with template-id in generic lambda
* parser.c (parsing_default_capturing_generic_lambda): Don't check
for enclosing template.
* semantics.c (finish_qualified_id_expr): Call it.
* cp-tree.h: Adjust.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-this1.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-this1a.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/cp-tree.h
branches/gcc-7-branch/gcc/cp/parser.c
branches/gcc-7-branch/gcc/cp/semantics.c
More information about the Gcc-bugs
mailing list