r273537 - in /branches/c++-coroutines: ChangeLo...
iains@gcc.gnu.org
iains@gcc.gnu.org
Tue Jul 16 21:00:00 GMT 2019
Author: iains
Date: Tue Jul 16 21:00:36 2019
New Revision: 273537
URL: https://gcc.gnu.org/viewcvs?rev=273537&root=gcc&view=rev
Log:
c++-coroutines - Make function-local identifiers reflect the instantiation types.
We need function-local identifiers to be unique at least to a TU, when a
function is instantiated with several types (especially the tag on the frame
type).
2019-07-16 Iain Sandoe <iain@sandoe.co.uk>
* coroutines.cc (get_fn_local_identifier): Use the instantiated type
names to unique the function-local identifiers in instantiations.
(morph_fn_to_coro): Use get_fn_local_identifier to make the frame
identifier.
Modified:
branches/c++-coroutines/ChangeLog.coroutines
branches/c++-coroutines/gcc/cp/coroutines.cc
More information about the Gcc-cvs
mailing list