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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Feb 13 22:31:12 2017
New Revision: 245410

URL: https://gcc.gnu.org/viewcvs?rev=245410&root=gcc&view=rev
Log:
        PR c++/79461 - ICE with lambda in constexpr constructor

        * constexpr.c (build_data_member_initialization): Ignore
        initialization of a local variable.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda15.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c

Reply via email to