[Bug c++/84802] [8 Regression] ICE in gimplify_decl_expr since r251433

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 12 12:59:00 GMT 2018


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Mar 12 12:58:38 2018
New Revision: 258447

URL: https://gcc.gnu.org/viewcvs?rev=258447&root=gcc&view=rev
Log:
        PR c++/84802 - ICE capturing uninstantiated class.

        * lambda.c (build_capture_proxy): Call complete_type.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice9.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/lambda.c


More information about the Gcc-bugs mailing list