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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu May 24 20:03:56 2018
New Revision: 260686

URL: https://gcc.gnu.org/viewcvs?rev=260686&root=gcc&view=rev
Log:
        PR c++/85842 - -Wreturn-type, constexpr if and generic lambda.

        * pt.c (tsubst_lambda_expr): Copy current_function_returns_* to
        generic lambda.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1z/constexpr-if23.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/pt.c

Reply via email to