]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++, coroutines: Clean up the ramp cleanups.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 12 May 2025 19:38:48 +0000 (20:38 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 21 May 2025 07:56:05 +0000 (08:56 +0100)
commit18df4a10bc96946401218019ec566d867238b3e4
treec50eab18253c6e3f5d3af1a9ae2a814c932f2ea2
parente71a6e002c6650a7a7be99277120d3e59ecb78a3
c++, coroutines: Clean up the ramp cleanups.

This replaces the cleanup try-catch block in the ramp with a series of
eh-only cleanup statements.

gcc/cp/ChangeLog:

* coroutines.cc
(cp_coroutine_transform::build_ramp_function): Replace ramp
cleanup try-catch block with eh-only cleanup statements.

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