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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Apr 12 19:22:25 2017
New Revision: 246883

URL: https://gcc.gnu.org/viewcvs?rev=246883&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:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda15.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/constexpr.c

Reply via email to