[Bug c++/71570] [6 regression] ICE on invalid variable capture in cxx_incomplete_type_diagnostic, at cp/typeck2.c:55
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 14 12:23:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71570
--- Comment #13 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Aug 14 12:23:03 2017
New Revision: 251091
URL: https://gcc.gnu.org/viewcvs?rev=251091&root=gcc&view=rev
Log:
/cp
2017-08-14 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/71570
* lambda.c (add_capture): Early return if we cannot capture by
reference.
/testsuite
2017-08-14 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/71570
* g++.dg/cpp0x/lambda/lambda-ice17.C: New.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice17.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/lambda.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list