https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891
Richard Biener changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891
--- Comment #4 from Peter Bindels ---
For posterity,
#include
#include
#include
#include
#include
template
std::future make_ready_future(T t);
struct y
{
intv;
std::function v2 = [this]() { v; };
};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |7.5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891
--- Comment #3 from Jonathan Wakely ---
(In reply to Peter Bindels from comment #0)
> https://godbolt.org/z/_XP2No
>
> Confirmed working on 6.x, 8.x and 9.x, but broken on all 7.x available on
> Godbolt. Example is mostly minimized, but not comp