aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2021-02-17 15:13:57 +0000
committerIain Sandoe <iain@sandoe.co.uk>2021-03-05 16:57:37 +0000
commit3d9577c254003f2d18185015b75ce6e3e4af9ca2 (patch)
tree70357716fd6e019d39e597a5d04e36eeff1b5be8 /gcc/tree-cfg.c
parent9ee91079fd5879cba046e452ab5593372166b2ab (diff)
downloadgcc-3d9577c254003f2d18185015b75ce6e3e4af9ca2.zip
gcc-3d9577c254003f2d18185015b75ce6e3e4af9ca2.tar.gz
gcc-3d9577c254003f2d18185015b75ce6e3e4af9ca2.tar.bz2
coroutines : Adjust constraints on when to build ctors [PR98118].
PR98118 shows that TYPE_NEEDS_CONSTRUCTING is necessary but not sufficient. Use type_build_ctor_call() instead. gcc/cp/ChangeLog: PR c++/98118 * coroutines.cc (build_co_await): Use type_build_ctor_call() to determine cases when a CTOR needs to be built. (flatten_await_stmt): Likewise. (morph_fn_to_coro): Likewise. gcc/testsuite/ChangeLog: PR c++/98118 * g++.dg/coroutines/pr98118.C: New test.
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions