https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95137
--- Comment #26 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Rafael Avila de Espindola from comment #25) > (In reply to CVS Commits from comment #24) > > The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>: > I can confirm that the reduced testcase is now fixed. the patch was intended to address the UBSAN failure identified - fixing the asan ones was incidental. >On the original test I still get runtime error: member call on misaligned >address 0x000000000003 for type > 'struct future', which requires 8 byte alignment > > I will try reducing the testcase again and upload the results. thanks, that's very helpful. On the test cases in the testsuite, I saw three fails that looked like false positives (because the asan logic doesn't know about things being moved into the coroutine frame). However, the error you report above seems more likely related to some incorrect dtor (there are some known issues there too...) In general, debug-related support is pretty much non-existent in coroutines impls (other than in MSVC). I have some ideas about how to make this better on GCC - and I suspect that will help deal with support for the sanitisers.