[Bug c++/101244] Wrong path in coroutine returning ternary

2021-06-28 Thread victor.burckel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101244 --- Comment #1 from Victor Burckel --- If ternary is not put in the co_return part but split into assignement return, the compiler crashes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101149

[Bug c++/101244] New: Wrong path in coroutine returning ternary

2021-06-28 Thread victor.burckel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101244 Bug ID: 101244 Summary: Wrong path in coroutine returning ternary Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[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

[Bug c++/101243] New: 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 Bug ID: 101243 Summary: Coroutine lambda capture is destroyed twice Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

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

2021-06-23 Thread victor.burckel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 Victor Burckel changed: What|Removed |Added CC||victor.burckel at gmail dot com --- Com

[Bug c++/99576] [coroutines] destructor of a temporary called too early within co_await expression

2021-06-23 Thread victor.burckel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99576 --- Comment #4 from Victor Burckel --- I'm also seeing the same behavior, destructor of lambda captures seems to get called twice https://godbolt.org/z/zxnhM3x47

[Bug c++/101149] New: Coroutine compiler error with ternary operator

2021-06-21 Thread victor.burckel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101149 Bug ID: 101149 Summary: Coroutine compiler error with ternary operator Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/101144] New: Coroutine compiler error

2021-06-21 Thread victor.burckel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101144 Bug ID: 101144 Summary: Coroutine compiler error Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assigne