This is the mail archive of the gcc-cvs@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]

r260685 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...


Author: jason
Date: Thu May 24 20:03:18 2018
New Revision: 260685

URL: https://gcc.gnu.org/viewcvs?rev=260685&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:
    trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-if23.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


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