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]

r273300 - in /branches/c++-coroutines: ChangeLo...


Author: iains
Date: Tue Jul  9 11:49:29 2019
New Revision: 273300

URL: https://gcc.gnu.org/viewcvs?rev=273300&root=gcc&view=rev
Log:
c++-coroutines - Implement template instantiation for co_yield.

Initial implementation.

2019-07-09  Iain Sandoe  <iain@sandoe.co.uk>

	gcc/cp/
	* coroutines.cc (finish_co_yield_expr): Return early with the original
	expression when we have incomplete promise type.
	* pt.c (tsubst_expr): Handle CO_YIELD_EXPR.

	gcc/testsuite/
	* g++.dg/coroutines/torture/co-yield-3-tmpl.C: New test.


Added:
    branches/c++-coroutines/gcc/testsuite/g++.dg/coroutines/torture/co-yield-3-tmpl.C
Modified:
    branches/c++-coroutines/ChangeLog.coroutines
    branches/c++-coroutines/gcc/cp/coroutines.cc
    branches/c++-coroutines/gcc/cp/pt.c


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