coroutines: No cleanups on goto statements.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 3 Mar 2021 16:13:00 +0000 (16:13 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 1 Sep 2021 13:23:16 +0000 (14:23 +0100)
commit8406ed9af2655479a9c8469d7acca2cf5784f5d6
tree1ed34c5e6357e12888a85536c3622b2011c511d5
parentfcc0c84cf5d29de431172347a28366ee0b428a86
coroutines: No cleanups on goto statements.

Minor cleanup, this is statement not an expression, we do not
need to use finish_expr_stmt here.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/cp/ChangeLog:

* coroutines.cc (await_statement_walker): Use build_stmt and
add_stmt instead of build1 and finish_expr_stmt.
gcc/cp/coroutines.cc