[Bug c++/91891] [7 Regression] std::function with lambda default initializer in aggregate construction causes ICE

2019-11-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/91891] [7 Regression] std::function with lambda default initializer in aggregate construction causes ICE

2019-10-22 Thread dascandy at gmail dot com
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; }; };

[Bug c++/91891] [7 Regression] std::function with lambda default initializer in aggregate construction causes ICE

2019-10-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/91891] [7 Regression] std::function with lambda default initializer in aggregate construction causes ICE

2019-10-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.5

[Bug c++/91891] [7 Regression] std::function with lambda default initializer in aggregate construction causes ICE

2019-09-25 Thread redi at gcc dot gnu.org
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