https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107288
Bug ID: 107288
Summary: Double-free of temporaries created in statement
following co_await
Product: gcc
Version: 12.2.1
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107288
--- Comment #1 from Richard Hodges ---
Created attachment 53712
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53712&action=edit
.ii file as requested
Intermediate source file as required by submission guidelines (g-zipped)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107288
--- Comment #2 from Richard Hodges ---
Some extra diagnostic. Reducing to this minimal program:
```
#include
#include
#include
#include
namespace asio = boost::asio;
struct foo
{
std::string s;
int i;
};
struct bar : foo