aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-forwprop.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-04-26 19:34:50 +0100
committerIain Sandoe <iain@sandoe.co.uk>2020-04-26 20:29:51 +0100
commit29f55115583a0dab6cbac749c4f0804fd88e9536 (patch)
tree17d248078a09a9bae1f20fcfec4ba15a4899ae65 /gcc/tree-ssa-forwprop.c
parent870923cd48e1e715120ff68425437e5b346283a1 (diff)
downloadgcc-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