[Bug c++/98401] Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

victor.burckel at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 23 08:55:14 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401

Victor Burckel <victor.burckel at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |victor.burckel at gmail dot com

--- Comment #4 from Victor Burckel <victor.burckel at gmail dot com> ---
I'm also seeing the same behavior, destructor of lambda captures seems to get
called twice
https://godbolt.org/z/zxnhM3x47


More information about the Gcc-bugs mailing list