[Bug c++/65985] [5/6 Regression] compiler segfault with assert() in constexpr constructor body

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 29 14:49:00 GMT 2016


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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Feb 29 14:49:12 2016
New Revision: 233812

URL: https://gcc.gnu.org/viewcvs?rev=233812&root=gcc&view=rev
Log:
        PR c++/65985
        * constexpr.c (build_constexpr_constructor_member_initializers):
        Handle an additional STATEMENT_LIST.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-assert2.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/constexpr.c


More information about the Gcc-bugs mailing list