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
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++
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
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+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401
Victor Burckel changed:
What|Removed |Added
CC||victor.burckel at gmail dot com
--- Com
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
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:
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