https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95137
--- Comment #24 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>: https://gcc.gnu.org/g:006f28aefeb3be575239beddc7febe56dff463a2 commit r11-1129-g006f28aefeb3be575239beddc7febe56dff463a2 Author: Iain Sandoe <i...@sandoe.co.uk> Date: Tue Jun 9 19:17:14 2020 +0100 coroutines: Ensure distinct DTOR trees [PR95137]. Part of the PR notes that there are UBSAN fails for the coroutines test suite. These are primarily related to the use of the same DTOR tree in the two edges from the await block. Fixed by building a new tree for each. gcc/cp/ChangeLog: PR c++/95137 * coroutines.cc (expand_one_await_expression): Build separate DTOR trees for the awaitable object on the destroy and resume paths.