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++/84421] [8 Regression] Lambda parameter is no longer a core constant expressions


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 16 16:44:17 2018
New Revision: 257744

URL: https://gcc.gnu.org/viewcvs?rev=257744&root=gcc&view=rev
Log:
        PR c++/84421 - type-dependent if constexpr

        * semantics.c (finish_if_stmt_cond): Check
        type_dependent_expression_p.

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

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