diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-09 19:17:14 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-09 20:52:34 +0100 |
commit | 006f28aefeb3be575239beddc7febe56dff463a2 (patch) | |
tree | ce7205dac1694b22b3057ff47a863c35edb530d3 /gcc/tree-vectorizer.h | |
parent | 62963c60fc19d07615afe9d4f1b897b2f60801b2 (diff) | |
download | gcc-006f28aefeb3be575239beddc7febe56dff463a2.zip gcc-006f28aefeb3be575239beddc7febe56dff463a2.tar.gz gcc-006f28aefeb3be575239beddc7febe56dff463a2.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions