diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-04-26 19:34:50 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-04-26 20:29:51 +0100 |
commit | 29f55115583a0dab6cbac749c4f0804fd88e9536 (patch) | |
tree | 17d248078a09a9bae1f20fcfec4ba15a4899ae65 /gcc/tree-ssa-forwprop.c | |
parent | 870923cd48e1e715120ff68425437e5b346283a1 (diff) | |
download | gcc-29f55115583a0dab6cbac749c4f0804fd88e9536.zip gcc-29f55115583a0dab6cbac749c4f0804fd88e9536.tar.gz gcc-29f55115583a0dab6cbac749c4f0804fd88e9536.tar.bz2 |
coroutines: Do not assume parms are named [PR94752].
Parameters to user-defined coroutines might be unnamed.
In that case, we must synthesize a name for the coroutine
frame copy.
gcc/cp/ChangeLog:
2020-04-26 Iain Sandoe <iain@sandoe.co.uk>
PR c++/94752
* coroutines.cc (morph_fn_to_coro): Ensure that
unnamed function params have a usable and distinct
frame field name.
gcc/testsuite/ChangeLog:
2020-04-26 Iain Sandoe <iain@sandoe.co.uk>
PR c++/94752
* g++.dg/coroutines/pr94752.C: New test.
Diffstat (limited to 'gcc/tree-ssa-forwprop.c')
0 files changed, 0 insertions, 0 deletions