This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/84420] [8 Regression] ICE when accessing a structured binding in a lambda


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 16 21:02:50 2018
New Revision: 257761

URL: https://gcc.gnu.org/viewcvs?rev=257761&root=gcc&view=rev
Log:
        PR c++/84420 - ICE with structured binding in lambda.

        * lambda.c (is_capture_proxy): Check DECL_DECOMPOSITION_P.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/decomp-lambda1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/lambda.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]