[Bug c++/101243] Coroutine lambda capture is destroyed twice

2021-10-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101243 Iain Sandoe changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c++/101243] Coroutine lambda capture is destroyed twice

2021-08-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101243 --- Comment #5 from Jonathan Wakely --- For the attachment in comment 3 trunk now says: In file included from /home/jwakely/gcc/12/include/c++/12.0.0/functional:59, from /tmp/pr-1.cc:2:

[Bug c++/101243] Coroutine lambda capture is destroyed twice

2021-08-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101243 --- Comment #4 from Jonathan Wakely --- (In reply to Nathan Sidwell from comment #3) > pr.cc:71:22: error: use of deleted function 'FOO::FOO(const FOO&)' > pr.cc:59:3: note: declared here Maybe I'm missing the point of the code, but this is

[Bug c++/101243] Coroutine lambda capture is destroyed twice

2021-08-26 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101243 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/101243] Coroutine lambda capture is destroyed twice

2021-06-28 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101243 --- Comment #2 from Iain Sandoe --- (In reply to Victor Burckel from comment #1) > May be similar to > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99576 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 I agree this is likely to be a

[Bug c++/101243] Coroutine lambda capture is destroyed twice

2021-06-28 Thread victor.burckel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101243 --- Comment #1 from Victor Burckel --- May be similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401