Repository navigation
co_return assertion failed: pop_object_lifetime_full: useful lifetime is unbound #585
lapkow
started this conversation in
Issue Triage - Compilation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Issue Summary
When a
co_returntries to return an object constructed with a temporary sub-object that has a destructor, edgcpfe` hits an assertion failure:Reproducing Source Code
Command-line Options
edgcpfe --c++20 bad.cpp
Type of Issue
[Front End] This code SHOULD compile with these options.
Additional Details
Godbolt link: https://godbolt.org/z/WWjq7K8xK
Reproducing (Standard) Configuration(s)
No response
Reproducing (Non-standard) Configuration
No response
I acknowledge that:
LICENSE.txtfile in my.zipor.tar.gzupload. If I included aLICENSE.txtfile, any tests created using the reproducing source code will be governed by the terms of the license I provided instead.All reactions