[Bug c++/60992] [4.9/4.10 Regression] ICE in tsubst_copy, at cp/pt.c:12637

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 23 21:30:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60992

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue May 23 20:51:33 2017
New Revision: 248386

URL: https://gcc.gnu.org/viewcvs?rev=248386&root=gcc&view=rev
Log:
        PR c++/80267 - ICE with nested capture of reference

        PR c++/60992
        * pt.c (tsubst_copy): Handle lookup finding a capture proxy.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nested6.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/pt.c


More information about the Gcc-bugs mailing list